careful treatment including stimulants can reduce addictive behaviours
We know that when we treat ADHD with stimulants, people smoke less, drink less, gamble less and yes, use less cocaine a trouvé. If we know that someone is using cocaine, it does not stop us from prescribing ADHD medication and in fact we will taylor the medication to effectively deal with the drive to use and when it is strongest. For example, many users increase use of cocaine in the evening and so we adjust the timing of medication to be more helpful in the evenings.
ADHD medication is definitely not the whole answer, but it can be an important part if you are ADHD and a user.