Can an NiMH battery charger that was designed to be used with a linear adaptor be connected to a switch-mode adaptor instead?

Yes, an NiMH battery charger that was designed to be used with a linear adaptor can be connected to a switch-mode adaptor instead, if the voltage is the same and the current is at least as much.