If you pick the right chemistry the chemicals pretty much synthesize them selves.
The lead Hypophosphate one is pretty interesting. You can't buy lead Hypophosphate but you can make it. The feed stocks and byproduct water soluble and the lead Hypophosphate is only slightly water soluble so it pretty much immediately precipitates out of solution. Beside being poisonous it's pretty harmless, stabile.
It makes what's known as a 2 salt mix, there's 2 lead salts in this one that are fairly inert besides being poisonous, oxidizer, ect but not explosive or sensitive at all until wetted. Once the chemicals are wetted something called lead nitro Hypophosphate forms in a minute or two and it's very shock sensitive once dry. But it only goes live once it's already divided into primer sized amounts.
So you could mix up a thousand primers worth of magic pixy dust with 0 explosive danger, perfectly safe aside from the water soluble lead salt part, set them all and go down the line adding a droplet of water or alcohol, water shellac mix, let dry and they are ready to go.
You just made your own match grade primers.