https://source.android.com/docs/devices/admin/multi-user
Either with a single local account that accesses multiple Google accounts, or multiple local accounts. Though this is device specific, it may be disabled by your manufacturer/provider.
As mentioned elsewhere though, an enrolled phone is an enrolled phone so corporate wiping will wipe the entire phone and not just the profile.
I'm pretty sure this is a thread about how you can't do things like that on iOS.
Regardless, its been a long time since I've had to use a personal device for work purposes and at the time Android seemed to only want to lock the entire phone down. If that is now fixed them thats great.
I'm out of the loop now, though.
Android did have better support at the time, but if I remember correctly, devices that had a work managed profile on them could still be completely wiped, including the personal/private container.
A bit of a pain, but I've always preferred (where possible) to have separate work and personal devices.
Wouldn't want one phone to be both personal and work though. They owned it, idk if I could've put my own sim in without unforeseen issues, it could've been wiped like you said, and it ofc got wiped when I quit.
No, personally-owned devices with a work profile cannot be wiped remotely using mdm. But company-owned with our without personal profile can be wiped by a mdm.