Firefox can be used with socks proxies nicely.
- Use Multi-Account Containers plugin, where you define which domain should be opened in which container.
- Use Container Proxy to configure which socks proxy to use for different containers.
Pair that with ssh tunnel that you use as socks proxy and you have nive tunneling solution for browser.