Depends on the type of heating controller. Some turn on for 30 cycles then off for 30 cycles or 1 second on 1 second off at 50% power. The lights might flicker.
If it is a straight PWM or SCR variable voltage control it would probably work. But there may be some "for intended purpose" listing issues.