Depends on how it’s done. If it is done to teach moderation and safe consumption of mind altering substances, it’s one thing. If it’s just to pass on addictions, that’s another. I think parents are all trying not to be hypocrites, so if they do drugs or drink too much, then how can they tell their kids not to?