When you first go to a treatment program, they have you stay in a nursing station, where they help you get through withdrawal, by giving you something to settle down and sleep. A doctor can similarly help you to do this. If you have a person
at home with you, that can go to a doctor with you, and be there to give you some medication to help you through withdrawal, you will have gone the same route as rehab detox.