VPN traffic only through socks/http proxy

Hello! I have brume router connected to my home router. what I’m trying to do is to run a http or socks proxy server on brume while brume is running VPN client. so that only apps on my computer that i set it to use the proxy will use VPN, and other apps won’t use VPN. is that possible?

so i have (macbook A), connected to my main router(no vpn), and Brume connected to main router and running wireguard client.

I have one app on (computer A) that i want it to use VPN while all other traffic on the same computer will not use VPN, so ideally i’d want to set up a local proxy server on Brume, so that when i configure this app on the computer to use proxy, it will go through VPN!