Lotteries and casinos don't have massive externalities like crypto does. If running a casino required burning coal 24/7 to produce an absurd amount of energy, creating kilotonnes of CO2 & sulfur dioxide and causing respiratory illnesses, environmental damage, climate change, etc., then it would absolutely be illegal.