Can you use passkeys/webauthn/fido2/whatever instead of password+totp for the sites in question?
If so, like, do that: your yubikey supports that shit natively and will completely eliminate your migranes, other than having to make sure the passkey is on each device (which, honestly, is not that complicated.)