Yeah, there's certainly some of that, but going off of Alec's numbers and trial above you end up with a
larger portion coming from the latent heat than from the mechanism, for the same reason that a heat pump is more efficient than an electric heater: it's condensing more water than it is running mechanisms.
That said, his demo is not under typical operating conditions in that a dehumidifier is normally expected to actually be able to catch up and reduce humidity in the room, while his demo ensures that the humidity levels stay high throughout the hour. So it's likely that under normal operating conditions the mechanism's proportion of the waste heat is higher than it is in his demo.