Yes. This is very easy to install using PFsense inside a virtual machine.
Here's a guide that is recent and I can confirm that it works:
http://www.malwaretech.com/2015/08/creating-ultimate-tor-vir...
Here's a guide that is recent and I can confirm that it works:
http://www.malwaretech.com/2015/08/creating-ultimate-tor-vir...
So then I can go to mange>adapter settings>lan segments in my vmware settings and change my upstream gateway. This is all 100% transparent to the programs running inside the VM (only problem is that not all protocols support being routed in this sense).
But tcp works, as does DNS over tcp, so most programs you use will work.