Yes it can be achieved.
Are you using NSX-T or NSX-V?
The public IP addresses will be used to peer between the sites and the layer 2 networks can be configured via the tunnel at either side.
Chris Noon | CCDP | CCNP | VCDX 289
Don't forget to mark as solved if your questions are answered.