Isolation transformers can be good at filtering noise, spikes and sags, and many are sold for this purpose. Common use is for comm, medical and scientific equipment. Be aware though that some of these, even though called isolation transformers, aren't really. They may have one of the secondary output lines connected to the case and mains ground wire of the primary power cable. This is usually stated in the specs. Read the fine print! An example is the Tripp-Lite Isolator series. A test of isolation is to apply power and check for voltage between the output contacts and the contacts of a mains power socket.
Mike in California