As others have noted, we already accept a long list of age-based rules: alcohol, driving, tobacco, gambling, movies and games, compulsory schooling, consent, marriage, tattoos, credit cards, pornography, firearms, etc.
Seen in that context, restricting social media for children isn’t some unprecedented intrusion - it’s another attempt to limit access to something that appears harmful for younger people. Will it work? I can only hope. But it seems reasonable to at least try.
I’m not claiming this opinion fits every country - it may be due to biases of where I live. Where I am (and in my opinion), social media seems like a clear and massive net negative, especially for kids. Perhaps in some places social media is a genuinely positive part of daily life, and from that perspective the same law might look like needless government overreach.
The question then becomes, how do we organise society instead?
The slippery slope claims by the anti-mask people have entirely failed to materialise, yet millions died needlessly. Far more people (including myself) were permanently damaged by getting covid before the vaccine.
Anyway, to get back on topic, which country do you think is the best example of the level of government you think is optimal?