yeah, good luck restoring full userdata and metadata partitions on a rooted pixel 4 and newer: you definitely can do that (and bypass TPM), but since there's no working twrp, there's no exactly easy way to dump/restore partition image with dd anymore.
? https://twrp.me/Devices/Google/ says there are official TWRP ports for pixel 4 and 5. I'm surprised at the lack of ports for newer versions; not sure what went wrong there. Yes, if you somehow get a phone without a working TWRP then you're going to have a bad time.