That is what the adults needs to do, push for regulation(ie. on very basic level, no NSFW content gets to feed into minor's feed), setup app screen time with parent control or even do something similar that works with schools boards. If district, school or PTA needs that implemented, hire some professionals and do the jobs properly so no algorithms feed apps during school hours.
Let me just say this, banning or taking the device away does not solve the issue, they still have that dopamine hit if they have a 2nd device hidden away.(thus regulation on the provider side is important.) I had classmates in high school literally buy a new weekly manga since it was confiscated by the teacher just to finish his weekly follow ups.
If people give 3yo phone/tablets to watch youtube to keep them quite and not engaging them, it's not hard to see how they grow up to be, right?
PS. also, non-verbal people really needs their phone to communicate properly or people that are neurodivergent and would require time to compose legible sentences. I doubt any common chomps understand what they said if they use the talking board.