Timmy's friend has a big brother that lets him use his ID. There will always be ways to circumvent this. The only functional difference between a simple setting in the browser and requiring ID attestation is how much surveillance it allows the government to do.
According to this logic, why ban anything? There is always someone who can help you overcome the ban.
So, let children buy alcohol and cigarettes, why not also drugs?