Sharing because I found this very interesting.
The Four Thieves Vinegar Collective has a DIY design for a home lab you can set up to reproduce expensive medication for dirt cheap, producing medication like that used to cure Hepatitis C, along with software they developed that can be used to create chemical compounds out of common household materials.
You are correct. If I gave the impression that it is a safe endeavour, I am sorry. It is safe IF done correctly, but it can get explodey if you fuck up bad enough.
Do your research, keep it small scale and don’t sell.