The only way I can think of to do this completely anonymously (at least for the government and social media) is for you to buy a card in cash that has a little code on it. You'd need your ID to buy it, and you'd put your code into your operating system and things that demand age verification can ask the OS whether or not you're over 18. Alternatively, you can give the service your code to verify your age, but that would be less convenient and lead to a larger tracking footprint, so it likely wouldn't be used unless necessary
Can I buy them for my underage friends at different stores? Is there revocation and hence a database that maps codes to identities?
How are the codes minted? Can I pretend to be a gas station and buy a big pack of ID cards, then just not check ID?