Install Aegis ROM on another ROM?

Is possible to install the Aegis app from the Mokee ROM on another ROM like resurrection remix or the AOSP Extended ROM and for it to work like in Mokee with no problems? I have the Moto X Pure running Nougat 7.1.2 the ROM that I have is the AOSP EXtended.