That does indeed seem to be working in Portugal.
One unpredicted side effect of making it a health issue instead of a criminal issue is that it's no longer so cool to young kids. Breaking the law is a bit of a rebellious thrill. Getting an addiction like Uncle Bob and having to visit the doctor a lot, not so cool.