Gambling mechanics are also banned for certain ages and in some countries for everyone. We don’t say that it’s just a game, and people should just control themselves. Without going into the specifics of this case, design pattern intervention have existed for a long time and it has been in most cases desirable.
And there are grey areas for gambling that have been settled on, like how video game "loot boxes" were recently reconsidered as gambling in some places (besides just being stupid).