If it's a VPN configured from hardware device to hardware device, this is easy. You just set up static routes in the routing tables. Everything to the network on the other end of the VPN > routed to the VPN interface. Everything else > default route out the WAN.
If we're talking software VPN on your workstation connecting to, say, your company provided VPN, this is something they need to enable on their end.