Homosexuality is not against the law in 37 states; in those where the practice of it is, the laws are not enforced. Drug usage is against the law in every state that I know of.
So what does that have to do with whether they need trestment or not? NOTHING. Both are worthy treatment