You may not be trying to but you ARE equating these behaviors.
I'm telling you, and will back it up with the studies if you so desire, that smokers pay in far more than they ever take out be it insurance premiums, taxes, SSI, medicare, or what have you.
If you believe that smokers are causing you to pay more for ANYTHING you are sadly mistaken.
Insurance companies may be taking the chance to make you pay more and blaming it on smokers but if you actually do the research you will find that is exactly what they are doing. They are taking your money under false premises.
As far as the others, IV drug use can be equated to smoking only in that it is a choice. If the government would make it legal, let insurance companies charge their higher premiums, and tax it, (the same way they do smokers) it might not be the same drain it is now.
As for homosexuality, I can't say as I've done very little research, except moral and biblical, to be able to say anything about the relative costs.
All the behaviors I mentioned are personal choices. No one should be coerced to bear the costs associated with the choices of another. To the extent that government or business does so, it is a form of theft.
That means that all government education and public health programs are confiscatory.