epicsucks multiple instances of, say, firefox
I have a suggestion that might mitigate your problem, if not solve it.
You mentioned multiple instances of Firefox. I used to use multiple instances of Vivaldi (and at least one other browser) in separate workspaces until I took the time to learn about stacked tabs in Vivaldi. They're easy to create, and the scheme creates two tab bars instead of one. Tabs are moved on top of another to creat a stack. When you click on a tab stack in the first row, its content tabs are displayed on the second row.
In the Vivaldi settings, this is the default way to handle tabs. You create it simply by using it. Not interested? Just don't create any stacks. It's that simple.
In the top row, you can rename the tab stacks from the right-click menu, thus creating a list of categories. For example, I have tab stacks named Financial, Forums, News, Shopping, Sports, Racing and Streaming in my top row. Clicking one of those puts the tabs from that category in tne second row, where I can select which one I want to work with.
You can save all or some of the tab stacks into a session, and if you ever do something to mess up your tabs (like accidentall delete a tab stack), you can restore the named session in seconds, with a few mouse clicks. When you start Vivaldi, you can optionally have it restore your previous session, so your workspace (just one needed) populates just the way you like it.
I have no browser needs that Vivaldi dosen't satisfy quite well, and using this "tab stacks" scheme, I need only one instance of one browser. Not several instances of one browser, and maybe a second one.
I don't have any interest in "browser wars," but I found something that works well for me, and thought I'd share the idea.