ZFS has been an option on Ubuntu for some time, as well as on other flavors of Linux. It works well there too. If you want a Linux-based ZFS NAS, there are already other options on the market like
OpenMediaVault and Rockstor (currently using btrfs, but will be switching to ZFS soon). Suggest you check them out.
Edit: Well, I thought OpenMediaVault used ZFS, but though their
website lists a number of filesystems, ZFS isn't among them.