Is it possible to host a website using a VPN and port forwarding?

https://ttrpg.network/post/23858454

Is it possible to host a website using a VPN and port forwarding? - The TTRPG network

I’m able to use my VPN to distribute files via Soulseek/Nicotine+. Can I do this with its IP and port forwarding so people can connect to a website hosted on my machine from the internet? I’m imagining they’d be able to connect with the basic IP:port address, but I’m really not even sure if its possible. I’m looking into using NGINX for this. If something else is more appropriate, I’d love to know.

I think this is what you are looking for?
github.com/fosrl/pangolin
GitHub - fosrl/pangolin: Identity-aware VPN and proxy for remote access to anything, anywhere.

Identity-aware VPN and proxy for remote access to anything, anywhere. - fosrl/pangolin

GitHub