Isn't water from a dehumidifier simply water taken from the air by the air flowing across cooled fins?
Distilled water is created by collecting water vapor from boiled water, leaving impurities which do not vaporize at 212 degrees in the boiling container.
I suppose that water collected from a dehumidifier is no more contaminated than the air from which it came.