I haven't tried it myself with encryption, but I can't see it making a difference. The bootloader, and initial ZFS setup will be what needs to be changed to facilitate encryption.
I only know how to use the systemd-ask-password hack to decrypt non-root datasets, but can’t get my head around how that would work with fully encrypted root dataset.
https://github.com/archzfs/zfs-utils/blob/master/zfs-utils.i...
[edit: this is done in our loader, so presumably you'd use grub?]