These deep emotional issues are not random brain malfunctions, but often caused by childhood trauma, or other forms of trauma. Addiction is a pathological response to pathology.
If, on the other hand, the drug alleviates the emotional issues by distracting from or reducing the pain, that's pretty much the definition of addiction.
The real question is why not assume it's all of the things & approach accordingly? Most of my breakthroughs in addiction were the result of things I'd learned on my own & not through therapy. Yes, some of those things were suggested to me by therapists, but I did the work.
IMO, the biggest key to recovery (from addiction & anything else) is the patient becoming an active participant, rather than being someone who needs to be treated by others.
What if these emotional issues are caused by a chemical imbalance that the drug alleviates?