yes, because the mechanism of gambling is addictive. (this too applies to subsets of video games as well, but at least most of them don't allow open-ended money spending)
Obviously it depends on everybody's definition of liberty, but most people seem to be happy to, as a society, put limits on the consumption of goods that foster unhealthy, addictive behaviour in individuals and cause financial or personal damage.
I for example don't have a problem with video games that foster creativity, problem solving and leave children with genuinely satisfying experiences. I am concerned about social media and games that only implement stick and carrot mechanisms to maximize the time children spend in front of them.
I spent a good amount of money on pay-to-win games when I was younger (buying weapon upgrades, more materials, gold, etc), the only difference was that the exact item was listed-- no surprises. Why should anyone besides my guardian decide whether or not that counts as "unhealthy, addictive behavior"? I could have bought a nearly endless supply of these in-game items that really served no purpose just as much as people do with loot crates.
Should we in-game purchases for those in-game items too, under the premise that purchasing them is unbounded, unhealthy and addictive?
I think that the premise is a little weaker for straight up purchases because the uncertainty associated with gambling is what makes it so exciting, but yes if we would observe that a lots of children or families are unable to manage their finances and that this negatively impacts the financial behaviour of especially young adults, sure I don't see any problem with regulating them and limiting the use of those mechanisms in videogames.
Yeah, as a kid it was always very annoying how everything but gambling was easily accessible.
Nobody would card me when going to a bar, brothel or when buying drugs... But entering a casino? heh
Personally, I believe casinos pose a risk of not only spending money, but also exposure to much more harmful activities (drugs, prostitution, violence). These other risks have to factor into the equation, and for playing a game on a computer/phone, those risks just aren't there like they are in a casino. That's why I have a separate opinion on loot crates vs casinos.
I guess what I am getting at is that loot crates can only be a waste of money, but kids already spend their money on other "wasteful" activities like purchasing video games, so why should there be any difference just because the mechanics of the game are different?