I could be wrong here but I don't think it works that way. Sure the pumps produce heat but most of the energy they use is converted into mechanical energy not heat energy. They are taking in a certain amount of energy and if it is all converted to heat there wouldn't be any water movement. Also, if it were just because of the heat produced by the pumps functioning normally then the OP's temperatures would've always been higher than they wanted.
Conservation of energy anyone? With a lid closing off a tank, a heater and submersible pump will generate the same amount of heat for the wattage. Kinda has to.
One of the reasons i switched to DC pumps and LED. Previous tanks were always a fight to keep temps down. I’d rather fight to keep them up.