This is of course a trend in many western countries. With some, like the UK and Australia, leading the way.
At this point I do not think it is reasonable to deny the harm that certain modes of social interactions over the internet have caused. At the same time these bans should not be considered reasonable options. They exist to cover for the decade of inaction of politicians in addressing youth dissatisfaction and dysfunction.
A reasonable approach should not assume that the root cause of this dysfunction is youth interacting with social media, but should consider what lead to this in the first place. Apparently most adults seem to be capable of dealing with this situation, if they are not why would this ban, or at least some regulation, not extend to social media for adults.
In general I believe that dysfunction in the youth has multiple causes and that overuse of social media is just on part of the puzzle and that unhealthy use of social media is often caused by other problem and used as a coping mechanism.
These bans will not be effective and they will be assaults on the free internet, as the bureaucrats establishing the laws are also seeking to control the internet for themselves and will use this as a backdoor.