I remember seeing an Andy Griffith Show episode with the good sheriff smoking...in bed no less!
Smoking was so commonplace it's not surprising everyone on TV smoked. "The Flintstones" wasn't marketed as a children's cartoon during its prime time run.
The Flintstones even did commercials for Winston:
https://www.youtube.com/watch?v=bdHSIquSHMw