Prohibition is what is causing this problem in the first place.
If you legalize marijuana, would be no profit to be made in coming up with new synthetics and without a profit motive, only researchers would do it.
For example, since the end of alcohol prohibition, how many cases are there of people being blinded by methyl alcohol from bathtub gin?