@mntmn well, had such a thought recently, to make a physical NVMe-oF (or even Ceph RBD) adapter using a PCIe endpoint capable SoC.
Should be quite doable to make an NVMe to e.g. UFS adapter using something like that. Unlikely to be very performant, but all the code should already be there in Linux