I'm not saying it doesn't have some risks, but I am saying with all other things considered, these are the same risks associated with running, sex, and spirited debates.
Consider this: It's normal for people to do this thing where they feign not being able to function without coffee in the AM but it is somehow not socially acceptable to have a bit of cocaine on some weekends. Let us consider that it's a dual standard for what is essentially the same thing, enhanced attentiveness, a brief euphoria, better focus, and an urge to poop.
If all addictions are equal, isn't the person who can't function without coffee or cigarette the same as people who can't go without a line? So you might ask "I've never seen someone steal to buy coffee, but I've seen people steal to buy coke, why is that?"
My estimate is that it is because one is normalized and one isn't, you simply have a subset of people who are self admittedly okay with breaking 'the law' by doing coke, so naturally they might normalize theft as well since it is a hobby that is so highly penalized only those with the shakiest hold on reality/morality is likely to do it. That distorts the image of it, and we then begin to develop this social stigma.
Ergo, legalize it, you won't have more of this any more than you have coffee-heads who happen to also be thieves.
You neglected to mention that the lethal dose for caffeine is in the same magnitude -- "150-200mg per kg of body weight, or 5 to 10 grams of total caffeine ingested, is considered lethal." [1]
Given that the street price of cocaine in the USA is around $120 / gram [2], it would cost about $780 to overdose. Meanwhile, I can easily and legally order 16 grams of caffeine tablets online (or in any CVS) [3] for $11.49 -- enough to kill two people.
Does this cause you to rethink any assumptions?
Don't forget -- at one time, drinking coffee in public was punishable by death. [4]
[0] https://gracerecovery.com/cocaine-overdose-amount/ [1] https://www.verywellmind.com/can-you-overdose-on-caffeine-21... [2] https://www.statista.com/chart/18527/cocaine-retail-steet-pr... [3] https://www.cvs.com/shop/cvs-health-caffeine-tablets-80ct-pr... [4] https://www.atlasobscura.com/articles/was-coffee-ever-illega...