Want to heat inground pool & spa with 1 raypack heater & Hayward variable speed pump.  

Currently have pool & spa separated, each with their own heaters & pumps.  

Is it possible with automation & valves to run both through the same heater on their own schedules?

thank you for any feedback 

-new raypack heater-model pr206a

-Hayward onni 900 with pool control