It depends on the type of heating. Generally speaking, if there is a thermostat in the apartment for a personal regulation of the temperature, the system is compatible.

Is it compatible with centralised heating in an apartment building?