Well, yes and no.
I am specifically not talking about heavy little boxes that have only 110 VAC or 240VAC as an input or a voltage selector switch on them. If you put a transformer based power supply across a battery, you will quickly have something that will never work again. And that could include the battery. (I had a lead-acid battery explode in one of my Mini Coopers)
What I am talking about is the light weight brick like boxes that allow 100 VAC to 240VAC operation without any switch for selecting the input. On ones I am using, they are labeled " "Input 100-240V ( ) Amps 50-60Hz", and that is followed by whatever the output voltage and current might be.
Any easy test if you have an Ohmmeter is to read what the input resistance is. If it is on the order of 10s of Ohms, it has a transformer input, and should not be used.
I am currently expanding on my usage of switching power supplies. I found an electronic junk store that had a switching supply that had two 3.6VDC 1Amp outputs,only weighed 4 ounces, and had a $3 price tag. I also found some 1 watt LEDs, that need 3.6Volts. They are destined to become the headlights on my Morgen 3Ewheeler. Now I have to fabricate a suitable housing and then mount them.
TTFN,
Dennis