Dishwasher as parts washer?

Could I use an old dishwasher for a parts washer? Plumb the water intake and discharge into holding tanks of non flammable solvent? dont know if I would use the heater element..Maybe a filter in the pump inlet when pumping the used solvent up to the supply tank (I have an old Intex pool pump) Anyone ever try this? Put a wind up microwave rotisserie in there? Just wondering...