Cigarettes and alcohol both have advertising heavily regulated/banned. The government just needs to make a public health argument which is easy enough here
They would have to stop pushing their own gambling sites to accomplish that. 45 States have lotteries they aren't going to give up, and one of the other five has legal casino gambling.