I'm surprised to read that there are recent innovations in illicit techniques of making methamphetamine that mirror legitimate pharmaceutical methods, but only because I thought methamphetamine was already a legitimate pharmaceutical to some extent.
https://www.goodrx.com/methamphetamine
Other amphetamines are quite well represented at the average pharmacy at least.