I use my Raspberry Pi 3B+ as an AdGuard Home server, as an OpenVPN server, to wake my PC via WoL, plus as just a basic Linux box that's on my home network that I can remote into from anywhere.
That's correct. The one I use is duckdns.org - it comes with a script that you can add as a cron job that updates the DNS record every few minutes with whatever your current IP address is.