Make a Routerboard a public WiFi client/accesspoint with VPN

Hi,

I was wondering if it might be possible to do a similar project like the following but with Mikrotik hardware: http://makezine.com/projects/browse-anonymously-with-a-diy-raspberry-pi-vpntor-router/

The goal should be to surf securely in foreign/public WiFi networks. So the device should be able to connect to a WiFi network and at the same time it should establish a own, private network which is then tunneled via VPN to a gateway of your choice. Tor is not needed in my setup.

Has anybody an idea if this is feasible? Especially to run two WiFi networks one as a client one as an AP at the same time…

Lukas