This is literally what all platforms have chosen to do in the UK which has implemented this kind of laws already.
It's a massive boon for them because they get to tie the profile to a real identity.
You massively overestimate how unwilling to give a scan of their ID random people are.
At least in porn, very few people are willing to upload their IDs. Pornbiz cites a 90% drop off on their article, I've seen other data sets with a 99% drop off rate.
Now, it could be social media is different, but at least anecdotally with my friend who got locked out of LinkedIn, people just can't be bothered. The real blocker is laziness.
The UK law is much stricter about acceptable methods for determining age and location. The California and New York laws allow for reasonable estimation, whereas the UK law requires strict verification.
It's a big legal difference and requirement from the platform's perspective.
It's a philosophical difference between how these governments are approaching the problem. The UK is essentially requiring every single child to be perfectly verified. Whereas the California and New York laws simply require the broader category of children to be verified while allowing it to be best-effort and accepting that some will slip through.
The UK-style law is almost impossible in USA without facing significant Constitutional opposition.