Is drug addiction the only disease you get thrown in jail for having it?

If it’s a disease why can you buy it on street corners? If it’s a dsease why do they have treatment limits? I could go on and on.