Well, there are many anti-smoking (cigarette) laws in the US that are just what you're asking for for pot. In a lot of places, you can't smoke in public places, and somewhere they recently added a law that you can't smoke outside your apartment.
I can't even smoke inside my apartment.

(Well, I can smoke inside, it is just against the rules and I could get in trouble for it. My landlady does not have cameras inside of my apartment)