@vgaetera thanks for the instructions, I will try that out @slh yes, I agree, the latency might be little high. Still, as extroot has a fallback in case usb device is removed, I'm hoping it would be the same in case of a NAS and work as if extroot hasn't been setup in case NAS fails.
I also just found this post that offers a solution by saving ram drive to an NFS share and restoring from it after reboot