yes, but you cant just change it, you need to see if your vpn provider has wireguard configs with different ports, if not then you are out of luck. The alternative is to try openvpn, you will need to download the openvpn config file from your vpn provider, follow the guide here if you get stuck:- https://github.com/binhex/documentation/blob/master/docker/guides/vpn.md