I ordered some alcohol online because I couldn't find the brand of rum I was looking for locally. They did some age verification before I could order, same that I could have encountered in a grocery store.
Of course they just got sent a token and not a photo id which changes the calculus some. I'm against trusting random websites with personal information, not an age block on its own.