Imagine if there were a state-run cigarette producing public benefit corporations alongside public health departments. You'd have two agencies, one cultivating and the other discouraging the same toxic habit at great public expense. We already have this with various OTB/gaming commissions and gambling addiction services. It's an insane conflict of interest to waste tax dollars on.
When you think about it, most of humanity's problems come from "fixes" put forth by some other branch of humanity. Humans are not particularly logical or inclined to see the big picture; they are very good at feeling a pain point acutely and slapping a band aid over it. Over time, this becomes rather absurd, but in the meantime the complexity lets societies that act like this grow bigger populations and amass bigger armies, and so that's all you see today.
Most historical peoples were quite happy to live as hunter gatherers, except that larger & more miserable societies had a knack for enslaving & eradicating them.
Those two things aren't necessarily in logical contradiction.
There will always be demand for gambling and get-rich-quick schemes. Maybe it's better that the state monopolizes and regulates it (and makes it clear that this is not an investment), rather than letting private entrepreneurs take advantage of that same habit in even more effective and unscrupulous ways.
The state is not a particularly efficient entity, so perhaps letting it do evil in a bumbling and clumsy manner is the least overall evil.
State and federal governments aren't private companies.