Drugs are already highly available. The availability of legal drugs would result in reduced medical complications due to increased regulation on supply side. Caffeine, etc has some small statistical probability of triggering a heart issues which is the most common cause of death - from a nationalized health cost perspective this is not negligible. If you consider quality of life as the metric rather than death then low nutrition food is probably worse than caffeine, etc.