Is it possible to do this with PiVPN or Wireguard?

Ahmm is this a duplicate?

https://dietpi.com/forum/t/is-it-possible-to-do-this-with-pivpn-or-wireguard/4381/1