Why not simply regulate it like gambling, instead of outright banning?
Are cosmetic item lootboxes affected too, and if so, why, if they're completely optional and offer no advantage? Are "lootboxes" that can be purchased with in-game resources affected as well, even when the game offers no option to purchase them for real money?