The best way to legalize it would be through licensed vendors. We shouldn’t force people who just want to smoke to jump through hoops or fake an illness. This kind of approach is exactly how you end up with messy laws like in the US, where everything relies on precedent instead of being clearly written into the code.
When laws aren't solid, they can be overturned by simply adding an addendum to a medical distribution law and make it unobtainable again rather than repealing the legalization itself. It is the classic conservative playbook (btw we see the CDU pushing for exactly this) and it is definitely not something that should be encouraged. So yes it's definitely not the "right" way.