It's not phones or tablets. It's the wrong doing apps / social netwrks / games. Same applies to friends: there are friend circles that bring only bad behaviors. We don't ban friendship because of that.
Ban social network apps. Ban addictive games. Ban notifications and any other FOMO-triggering mechanisms. Don't ban phones.