Thermostat mode different relays

Hi,

is it possible to pre assign different relay/actuator to certain thermostat mode?

i.e. If thermostat is in heating mode, I want it to control relay_1, and when I switch it to cooling mode I need it to control relay_2?

Thanks!
Nino