It seems that the operating system of Samsung Z phones cannot be changed. Their hardware is specifically designed to run with Tizen.
In case you force the installation of an OS other than Tizen, your phone may not work properly. Also, no custom ROMs are currently available for these devices.