I'd hate to get all true scotsman but a true leftist would never preach for prohibition as a solution for vice.
But the audience for these anti-vice takes seems to be "lefty" people. Both center-left folks and also leftists. I see plenty of folks on Bluesky who want a socialist revolution tomorrow that also want to ban gambling.
The case of US Democrats is an example of how useless the 1-dimensional classification is. They can be very socially progressive which would seem to put them well into the "left-wing" territory, but economically they're in the right-wing territory.
Economically speaking, a candidate like Sanders (considered to be too radical even by the Democrats and painted as an extremist by the Republicans) would be considered centrist/centre-left in most of Europe. He supports single payer healthcare and policies that would strengthen worker protections and improve the social safety net, but he doesn't fundamentally oppose capitalism. That's the status quo in most of Europe.
There are some EU laws that are more conservative and some that are less, proponents of policies often cherry-pick the ones that match their ideology leaving out others. Even worse is they ignore the problems that the policies they agree with are causing those countries, but ends-justify-means.