marius already did all the legwork and wrote scripts that do this on the Mikrotik.
It requires a more powerful MikroTik than he has. I looked a bit at the solution of running a virtual Linux system on the MikroTik but I can't find a reasonably current ready-made Linux image (the one on the site is dated 2010) and I don't think I will setup a cross-compilation environment just for this pointless experiment. (I use a Pi when I need things like that) Also, lately MikroTik have been reducing Flash memory size in their smallest models, making it difficult to impossible to run arbitrary (non-RouterOS) virtual machines on them. (my RB2011 has 128MB Flash, the smaller boxes used to have 64MB, but now the smallest boxes have 16MB Flash. clearly cost cutting is important to sell a router for $39 or less)
Rob