Do "social" casinos count? Zynga is all over that and went public in 2011, Big Fish was acquired by Aristocrat in 2017, and I'm sure there are others.
If you throw ethics to the wind, there's no reason to make a real gambling app/service when you can give gamblers the same dopamine feedback loop without ever needing to pay them real money.
Personally I think there's only so much time left for gambling (in lootboxes, social casinos, or even sports betting) before it gets shutdown by regulation. There's very little pragmatic argument for allowing it to exist in the first place, other than classic prohibition arguments like "personal freedom" and "black markets still exist." Valid, but I think the harm of industrialized gambling through digital platforms outweighs the benefit of taxing it and allowing a black market to exist, but that's just me.