Could we have a bit more control which domains open in browser vs in app?

Right now, youtube has its own preference option, for method of opening. Could we expand this to allow users to input domains and select an opening method for them?

Generally, I want to open videos in app and articles in browser. I don't know if there's a better way to achieve this than giving users an option per domain, with custom domain input, but I'm open to other methods.