Tried, and failed. Even before these social media apps, school boards back in ~2006 (!!) already attempted to enact these bans.
They failed. Teachers don't want an additional item to enforce, and students are FANTASTIC at hiding them. Ask any millennial what it was like typing T9. We can probably still do it without looking.