It is possible to use a RasPi as a media server to watch eg on TV on Netflix and at the same time to program another operating system with access to a KNX system.
2 operating systems on a Raspberry Pi will be difficult as the performance is very weak. Why do not you try to install Android on Rasperry Pi and install the Netflix app there?
It is possible to install different operating systems on a RasPi and use them alternately: https://www.makeuseof.com/tag/how-to-install-multiple-oses-on-a-single-sd-card-for-raspberry-pi/
A verbatim simultaneous use of two operating systems on a RasPi is neither technically possible, nor the performance of her virtualization conceivable.