The Rockbox bootloader can do this.
Install IPL and put the kernel into a file /linux.bin. Rockbox will load that file if you hold Play when booting while it loads AppleOS when you enable the hold switch while booting.
You won't have a nice gui in that case.