Yes. According to the IRS, health expenses are tax deductible (which is why HSAs keep money for health expenses in a separate account).
Since a drug rehab program is considered a medical expense, addiction treatment is tax deductible.
Learn more about addiction treatment and tax deductions.