I don't know if this is what you meant, but as an alternative to profile switching, there are Multi Account Containers [1].
It allows assigning a container to each tab, and the containers are isolated from each other. If you have an MS or Google account for both work and personal, you can open them at the same time in different tabs.
[1] https://addons.mozilla.org/en-US/firefox/addon/multi-account...