The word dehumidifier does not have the same meaning as the word heater.
Now, practically speaking, a typical dehumidifier does not significantly heat the room. It transfers heat from the air into itself, which cools the air and causes condensation. Then it transfers the heat back into the cold air and recirculates it. The net heating is zero – except that any electrical appliance, even a light bulb, creates some waste heat in its operation, and will cause its environment to be slightly warmer.
Suggest this question be moved to DIY which is a better place to get answers to questions about home appliances.