I never heard if twingate but i see no reason why not to selfhost Wireguard.
Its a proven open source vpn.
As far as a little research went. Twingate is proprietary software and caters to enterprises, it has some open source alternatives that have a similar functionality. Most if them using Wireguard under the hood. Look for tailscale/headscale or netbird.