It's still possible to install magisk into ramdisk but not worth to effort because emulator stores ramdisk in separate partition with very limited size so can't put magisk binaries in ramdisk. If we want to install magisk into ramdisk, we need to expand that partition.