All asked and answered dozens of times...
and search for "static ip"
(Searching with the built-in forum search will not work with 3 letter or shorter terms, such as vpn or ip.)
No, you do not have to have a static IP. Yes, VPN can be a good solution for a number of reasons.
See also the various Wiki articles here:
One of the forum moderators • AC 26 USA and earlier • macOS Ventura 13.2.1, iMac Pro 10-Core, Radeon Pro Vega 64