@fabi1cazenave
Depands: is the login information something like a mTLS certificate. Than definitely yes. (Preferably you would still want to use individual credentials, but sharing such a secret is less of an issue).
Is the login information something like a user name and password, preferably not. But not everyone has their stuff in order where they can support multiple users per account. It should still always be available exclusively through a password manager.
And the same goes for 2FA codes, if they need to be shared it should be stored in a password manager.
This is much more about how to deal with the day to day world of imperfect security practices… and less with “is this smart / ok?”.
You must consider that sharing credentials like this does mean that whenever the set of people with access changes (specifically a removal) requires a credential reset. Or you haven’t removed access at all.