Is there an easy way to create a dual rootfs tezi image?

Another question that could benefit from these patches can be found here:
tdx-encrypted-with-partitions