Drug addiction doesn't work that way. Imagine if the only way to get housing was to quit smoking cold turkey. Very, very few people will succeed. Some of the homeless have tried to kick their habit and failed, so very few people would want to fail abstinence and go back on the streets.