Android (Stock android) has a feature that enables Android to support multiple user profiles. Note this has nothing to do with online accounts such as a Google account.
Within the phone you can define profiles and switch from one account to other effectively running apps and other staff separately.
This is what I mean: https://www.howtogeek.com/333484/how-to-set-up-multiple-user-profiles-on-android/
In practice I found out most phones disable this feature. For instance Samsung and Oppo devices do not have it. Others have it. In the specs of the phones they never mention this feature, i.e. by looking at the specs of a phone I cannot know if it is enabled or not.
Is there any way to get a list of all devices which offer this feature?