Yep, the simplest way in this case to lower the risk significantly is to power up very very slowly using a variac.
As was pointed out to me a while back and a fair comment, an exception is switching power supplies can fail on variacs. Some at low voltage and some with pfc, some auto line detection switching. Even if you had a low voltage robust smps with a wide line input voltage, it's not switching until approx 80-90V and then once it starts the circuit draws full load.
Variacs are more useful instead for soft starting linear transformer powered devices like old radios, amps. As well as testing power supplies, ironically including smps for over/under voltage robustness.
Another point is capacitors don't fail immediately. I recently had some fail after 10 hours on an aging amp that had been unused for about 5-10 years prior to me owning it. So for your own equipment it makes more sense to power them on periodically, and proactively replace as needed before damaging other components.