If you use bitwarden/vaultwarden as password manager you can manage TOTP either on web or via browser plugin with it. In my limited testing with office365/teams a few days ago it worked.
Personally, I have a strong preference for not combining my password manager with my 2fa totp code generator though. Compromise of one meaning compromise of the other, and all that.
I've been doing this for about a year now, and haven't run into any issues with any of the various tools I need to authenticate with. It's a great solution so far, and this one feature makes the entire subscription pay for itself, imho.