It's my country that chose to do it yes. And no, I'm old enough. Any sort of gambling requires the provider to have a gambling license (and it must be 18+).
The lootboxes don't even need to provide something that can be sold for real money. As long as there is randomization it's gambling. Most games block such lootboxes from being sold in my country because it's the easiest for them. In Guild Wars 2 I can't even buy a lootbox that only contains untradeable armor dyes because it's randomized.