If you are comfortable with the command line, it is pretty easy to spin up your favorite flavor of Linux, create a software raid with mdadm and share it out with either SMB or NFS. Its also VERY easy to install docker and portainer and run docker packages from the same instance of linux. That's pretty much what CasaOS, OMV and some others are doing. ZFS requires a different kernel (like from Proxmox) or for you to recompile the kernel yourself. That means trying to recreate TrueNAS Scale is a bit more involved. Personally I prefer BTRFS in that situation since it comes native with the Linux kernel. I just follow the route Synology has gone, and use mdadm to set up the software raid, LVM to do the volume management and then format the volumes with BTRFS in order to get copy on write and snapshots. That's the way I have my OMV set up as well.