Asking for a user's age and giving a dropdown that lets the user select any age they like is in no way comparable to checking an actual government-issued ID.
Because that's the only way to make this happen.
With regards to social platforms, I think we need to consider the health of people under 18, just like we do in the real world. If we indeed decide as a democracy, that certain types of social media content are significantly harmful to children, then I think it is our responsibility as adults to impose certain things upon ourselves that may be uncomfortable.
I have gone to the beach and realized that I had left my wallet(and ID) in the car and was unable to purchase alcohol or be let into a bar. We as a democracy have decided that is a reasonable price to pay for protecting children from alcohol abuse.
If age verification were required to access online content, plenty of online services would be available as a third party to verify your age without requiring you to show every website and application your government ID. For example Apple might verify your age and relay that to a website. Or possibly your credit card company or some other new company which provided that service. PayPal for age verification.
I should qualify that I'm not sure we should impose these age restrictions on social platforms, I'm am instead commenting on the feasiblility of such an action.
The way we enforce this with alcohol and tobacco is that law enforcement runs a test were they attempt to purchase alcohol or tobacco from a store with a minor. Law enforcement can run a similar process where they attempt to access pornography(or other age restricted content) and if the site or application fails to restrict usage, apply crimial charges.
There is certainly public debate as to if we should use age restrictions on certain features of Facebook, but to say that enforcement is impossible, seems to contradict the data we have with other age restrictions.
We have significant, long term, data that age restrictions reduced the use of alcohol and tobacco.
What has changed, in the modern era of internet age restrictions, is that the enforcement of age restrictions online has been reduced.
For example, online pornography has massive numbers of users under 18, but there has been little enforcement by law enforcement agencies.
The solution is quite simple. If a person under the age of 18 is in possession of an application that is prohibited for minors and the company that creates that application fails to verify their age, then the company should face criminal charges, just like we do with tobacco and alcohol.
To say that age restrictions do not work is to ignore almost a century of public policy.