Intellectual pursuits may buffer the brain against addiction
One possible case in point, the mathematician's mathematician Paul Erdős, who was said to be a heavy methamphetamine user.  From <a href="https://en.wikipedia.org/wiki/Paul_Erd%C5%91s" rel="nofollow">https://en.wikipedia.org/wiki/Paul_Erd%C5%91s</a> :<p><pre><code>   After 1971 he also took amphetamines, despite the 
   concern of his friends, one of whom (Ron Graham) bet him 
   $500 that he could not stop taking the drug for a 
   month.[18] Erdős won the bet, but complained that during 
   his abstinence, mathematics had been set back by a 
   month.</code></pre>