Obviously you need wires that go to the mirror glass to connect the heating elements.
The wiring needs to then be present in the door looms the floor looms and the dash, so while it seems easy to just pop some heated mirror glass in, in reality it may need significant modifications to the vehicle’s wiring to get them to power up and do anything.