It wasn't until 24/7 social media that it started to have such a negative impact though. My first phone I think was a Sony Ericson Z-something, and of course me and everyone else brought their phones to school so we could share mp3s over IR during recess, but during class the most distracted you ended up being was trying to type and send SMSes while not looking at the screen.
A far cry from what seems to be going on with schools today due to smartphones, social media and all that comes with essentially "one big 24/7 public group".
My guess is that a "social media ban" would have the same effect, but it's a lot harder to put in place, so easier to just ban phones overall.
There are already multiple ways of blocking social media on kids phones. I think the kid safe SIMs available in the UK give you that option, you can use DNS that stops looks ups, my router lets me have blocking rules for specific devices...