This is true. But if it's somebody important your life, social pressure can help.
Demonstrate the lifestyle you want to help them lead. Give them opportunities to join you, not pushy opportunities just let's do a thing together. And you demonstrate the better lifestyle.
No it wouldn't get somebody off drugs. But it might help somebody exercise more or eat healthier if you normalize it