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.
Medicine still works in europe and is also being developed in europe. Maybe look at how the EU/european countries do it? A lot of it is having regulations. The free market isn’t free if the choice between getting the product or not is the difference between life and death.