VPN to route same subnet

is it possible to create an overlay network within few physical linux servers? So I can connect vm in same subnet running in the linux servers in different locations? Thanks

Basically the VMs are in the same subnet but across physical linux machines in different locations

The linux machines are in subnet

Thanks a lot in advance