Yes you can recover from a drug addiction if you really are dedicated and willing to stop the drug addiction.
To be able to recover from a drug addiction you need to be willing to go through the process and be willing to stop doing the drugs.
If you're not willing to put in the effort to go to drug addiction classes or willing to stop taking the drugs then no drug addiction facilities or classes will stop the drug addiction.
I've known a few people who were addicted to drugs for 10 or more years and after a few years of taking drug addiction classes and having the desire to give the drugs up they finally succeeded.
So it can take 1 to 2 years and sometimes a bit longer to fully get over a drug addiction but if you're willing to try then it can be possible.