Not easily, but it can be done using an electrical relay and some rewiring. You’ll probably want an electrician to tackle the job for you, but here’s how to wire a smart thermostat to use an electric heater.