Tinc in X86 virtual machine

Would it be possible to run tinc in a virtual machine on an x86 router then let it use the internet to make a mesh vpn and then bridg to internal vlans?

Thanks.