I don't think it's a correct argument.
I believe it's not a secret how metamphetamine is made (though I don't know it myself, but I'm too lazy to research for a sake of argument), and it's known pseudoephedrine is a precursor chemical. Thus, the regulation.
No one - I believe - knows how to build an AGI. There is no recipe. It is unknown if transformer models, deep learning or something else is a component, and if that's even a correct path or a dead end. What is known that neither of those is an AGI, and there's no known way to make those AGI. Thus, I'd say the comparison is not correct.