It would probably work. However, there's always risk involved if you don't control the proxy (ie. logs, malicious setup, etc.). If you DO control the proxy, then nothing stops you from setting up a VPN in the same server/vps. That'd be the safest bet, IMO. I connect from work to a VPN I set up at home, that way I can use my computer while at work without concerns for my privacy.