It would have to take a heroically rubber-room upbringing that never hears about the possibility of a drug or alcohol etc.
Once the possibility to sin is heard about, the moral choice to seek or to refuse to seek is unavoidable. Even the bible does not hide the danger.
No rubber room is needed, the only thing that is needed is self control.
As for faith, there are junkies who have accepted Jesus, and there are atheists who have never done drugs.
As for recovery programs, some people do better in a faith based recovery program and others do better in a more secular program.