Not applicable today, but older games such as Leisure Suit Larry used to ask age verification questions, anonymous in a way that a government issued ID is not.
https://allowe.com/games/larry/tips-manuals/lsl1-age-quiz.ht...
https://allowe.com/games/larry/tips-manuals/lsl1-age-quiz.ht...