I guess you live in states and given the hell of an amount of detox clinics available there I would guess atleast some of those will have out patient rehab available.
In that kind of rehab you stay at your house but go to a clinic at the morning for a check up and get any drugs they use in the detox process and then you go to do what you should be doing for the day including work or studying.
After you have finished whatever you are doing during the day you'll go back to a clinic at the evening for some kind of therapy, counseling, peer suppory etc. and when you leave back to your home you'll get drugs for the night.
This works wonders for people who have a job or study and in most cases that is the requirement for such rehab often or if you don't they might have those therapies and other support during the day instead.