Yes but unfortunately on leaving rehab she would have to go back to the same environment, social circle, etc which drove here to drugs in the first place.
She didn't. In fact she had the means, both financial and familial to extricate herself from those who influenced her and the environment in which she lived during her addiction.
She chose to return to that environment and social circle, it was not, as is the case of many addicts, something she could not avoid.