The loot box issue is in part how easy it is to take this stuff to excess. My 8 year old niece racked up ~1,500$ worth of charges in a game when AT&T messed up permissions after a cellphone upgrade. It’s shockingly easy for people to blow arbitrary money on this stuff as the industry is optimized to be predatory as whales make up the bulk of profits.
So I suspect physical stores being really skeptical if an 8 year old showed up to buy a grand of Pokémon cards likely tampered the backlash.
I don't even like it when targeted at adults, but we allow adults to do far worse when it comes to gambling. A lot of our hollow economies depend on it. But you really have to be a moral sewer to pay your rent from kids hoping to open the right bag to hopefully energize their often very narrow, often very autistic social lives. At best you're a carnie.
So there's one data point, take it as you will.
I could see an argument that there's an issue with closed ecosystems where value of an item can be changed after someone has obtained it due to control by a centralized provider, but that's completely different concern to the idea of gambling being harmful.