It would be possible with a Pi or any other ARM or RISCV board, but most of those don't have NVMe or SATA and have very limited bandwidth to the USB ports, PCIe, or ethernet. If you don't need high performance that can be perfectly usable, but it will run into bottlenecks if you push beyond basic use.