Sure, DDNS works fine if your self hosting on your LAN and port forwarding/ NAT hair pinning to allow WAN incoming connections. I've used https://www.dynu.com for ages without any issues and their ddns service is free for four or less host names.
You may want to consider using a domain name for your grid, rather than the IP address of the server. The beauty of doing this means that should in the future, for whatever reason your server IP address change, then you only need to change the IP address associated with your domain name. Similarly your URL's would use the grid domain name, so wouldn't need to change. More information and explanation here - https://en.wikipedia.org/wiki/Domain_Name_System