OK if the author wants to equate the two:  some homosexuals (and others) willingly engaged in unprotected sexual activity knowing full well the risk of HIV infection.  Some addicts willingly ingest or inject substances purporting to be opioids knowing full well the risk of contamination and overdose.

So?  Knowingly and willingly made a choice.