Virtual VPN gateway on Proxmox

I have a 1gb fibre router as my internet connection is it possible to have a proxmox VM setup running a VPN as the gateway for my home network.

So I would have a VPN running in a VM so that any other devices would point at that VM as its default gateway therefore i could have my iPhone or Apple TV seeming to come from whatever IP and country the VPN was connected ie, my whole home network behind a VPN and a kill switch on the VM so if the VPN went down no internet access

Something like Configuring Raspberry Pi as a VPN gateway using NordVPN with best server selection (Pi-hole with DoH setup optional)

Did to manage to do this in Proxmox?
I want to do the same.

Thanks that’s not to bad at all just need to put a similar setup on proxmox with no pihole as protonvpn can blocks ads and malware

I did and wrote a wiki GitHub - linuxcontainers/vpn-wireguard-router: How to Setup VPN Router With Wireguard the original was based on openvpn so I changed it to wireguard

Oh. Nice. I will take a look.
Thanks