Age verification inherently requires identity verification.
The UK's Online Safety Act originally had a proposal that would allow users to purchase an ID code anonymously in cash from a corner store, presenting only ID to the cashier the same way as buying alcohol. This was never implemented, because it's more useful for the government and corporations to link all online usage to a government ID.
How do you prevent selling those ID codes to kids?