How will the epoxy stay in the hole while the assembly cures?
If it's a low-load application, just get some right-angle weld studs from McMaster-Carr (e.g. 96466A040) and epoxy it right to the paint. If there'll be a decent amount of load then grind off the paint and epoxy the stud right to the base metal, covering up the exposed metal to prevent corrosion.
If highly loaded, I would go with the stud welder.
Not sure never used epoxy before, is it basically like glue or is it very runny? I was thinking the hole would sorta hold the standoff in place on it's own and the epoxy would just secure it further. Basically it would create more surface than just trying to glue directly to a flat surface.
I was thinking about a tap and die too but not really sure how to go about knowing how to space the thread etc, can't find much info on how to use one. The metal is actually decently thick so it could maybe work. I'd say it's about the same thickness as a computer case, maybe even thicker.
Stud welder sounds interesting, can I use my own nuts or do I have to use specially designed ones for the particular welder?
Was thinking plywood too, but I'm not sure I want to introduce a combustible material in the enclosure. The odds of it catching on fire are slim, wood is actually kind of hard to ignite directly after all, but still want to avoid it.
Oh and if it matters it's possible that I may have to put more standoffs in the future while the boards are already in place and the panel is mounted to the wall. (ex: expansion, adding more relays boards etc)