That's certainly part of it - but there's some distance between prohibition and infinite alcohol dispensaries in everyone's pocket (which is what gambling has become).
I completely agree. Fundamentally, prohibition showed that legislating morality ultimately fails. As immoral as mobile gambling is (and I firmly believe it is), people are going to do it. And when you start coming up with top-down technology solutions to stop people from gambling online, you realize that there isn't a workable solution that privacy advocates would support en masse.
Increasing awareness and creating programs to help people seeking treatment are the way to go.
The major benefit of legalization of something like marijuana is that you nix a lot of criminality associated with the drug being illegal. You also wind up with a better quality product, labels that help with dosage, potency, etc.
The no-holds-barred legalization of gambling apps has none of these benefits, and almost everyone I've talked to, no matter how libertarian their instincts, seems to agree we've gone way too far. I think (and hope) we'll see a backlash on the gambling stuff that pushes legal gambling out of the insanely public and accessible places where it currently lives.