The latest fedora supports tpm unlock of secrets for encrypted luks partitions. This includes the root partition. It is a good idea to have a strong passphrase on the partition also as a backup.
ubuntu installers are notorious for broken luks2 features. If you can get luks2 encrypted partitions setup you may then be able to unlock them with the systemd tpm2 integration. I have never made this work with out of the box tooling and had to create my own. In my tools the luks2+tpm feature only unlocks the partition but does not validate the signatures stored by the tpm. systemd-boot might do that. I dont' know but dont care as I'm protecting the boot process in other ways.
Everyone seems to be moving to dracut and systemd for the boot process including debian but ubuntu does not want to do that. I dont either but guess I'll see what happens.
assuming we installed fedora with luks2 encrypted root and did not find the tpm option this is how we manually set it up. Before starting this we get a password prompt on boot for decrpt. Run these commands to setup tpm unlock.
sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=7 /dev/nvme0n1pX
mv /etc/crypttab /etc/crypttab.orig && cp -a /etc/crypttab.orig /etc/crypttab
sed -i 's/$/,tpm2-device=auto/' /etc/crypttab
dracut -f
after reboot the password prompt should not display for decrypt of the root partition.