Let's be real here, the first scene on this is that gambling can never be eliminated, the second one is that the government cannot control, moderate or regulate gambling in general, the only chances whereby they make some stands with the online casinos is when they require them to go on by license, every other decisions either coes from the gambling platforms or the gambker himself, but know that the gambling platforms cannot implement what will not work to their own favour and against the wish of their customers the gamblers.
Governments won't do anything apart from regulating the casinos and asking them to register with them so that they can tax them and the players (if there are taxes on wins from gambling in a jurisdiction) because that benefits them, we know that casino businesses earn a lot of revenue every year, so governments will get a pretty good share from the taxes these casinos will pay the authorities.
They also don't care about who is losing how much money due to gambling, it's everyone's own responsibility to take care of their money because the more we lose, the more they get in terms of taxes in the long run, so they will obviously let this happen and won't intervene that much.