The answer you are looking for is yes. However, with HYDROS you are not writing lines of code, so it is not if/when statements. You will find the configuring of HYDROS extremely easy and user-intuitive, with everything being a dropdown in preset outputs like heater, lights, return pump, protein skimmer, etc.
There is also Generic and Combiner Outputs, which is an extremely customizable output that can utilize a number of inputs to make an output decision. No matter the output, you will have "Depends On", there you can set On if On, On if Off, Off if Off, Off if On.
You will find the advanced level configurations you wish, without having to code to do so.