Virtualmin required to run under dynamic IP : unusual request

unusual topic as all servers better with fixed IP but
for a project,
I need to install virtualmin into rasberry pi4 – easy
I need virtualmin to have Dynamic IP - as I required I need to change WAN IP of virtualmin.
No domain requied to bind into virtualmin but if needed I can use dyndns services.

Home / Office WAN IPs are fixed that I can keep rasberry pi4 under these network will have fixed IP.

Is there a way to virtualmin get a dynamic IP via VPN services ?
and choose that VPN IP as server main IP.

Kind Regards

OS type and version REQUIRED
Webmin version REQUIRED
Virtualmin version REQUIRED
Related packages SUGGESTED