There are at least two methods to verify age without disclosing identity:
1) Yubikey-like tokens supporting attestation and sold at places not accessible to minors like liquor stores
2) "parent mode" on desktop and mobile devices - the device would refuse to load any inappropriate sites and install inappropriate apps like Telegram, Omegle or Facebook.