This is a feature that Safari 18 has, and Arc Browser has (called Air Traffic Control). It allows me to control which profile is opened or a link is directed to open in, based on the domain name.
For example:
I have two profiles, Work & Personal. I am logged in to websites like X.com, YouTube, Amazon etc. in my Personal profile. When I click on an X.com link or a YouTube link, it will only open them in my personal profile, even if I last used the Work profile. My employer uses Microsoft services, so I use this feature to direct any work links to my Work profile like what happens with non-work links in my Personal profile
This is an incredible feature that I miss when using Orion. In fact, I see it as the last major feature for me to that would make Orion my full-time browser.
See attached screenshots from Safari 18 & Arc. I would recommend an implementation similar to Safari's.

