I have done that on nodes in the past. I have a semi working wireguard setup script that sets up both the client and the server. Might try to tweak that and the documentation a bit to make it work with this.
Discussion
Oh nice, it will be easier for you if you have already some setup
Just in case you want to try and play around with different tunnel tools or methods, you can probably look at this