You can go to the Desktop Pictures folder in /Library and pick the Mojave.heic to see how to formate a Dynamic wallpaper. I don't know about tools to automate it, but anything you format like that and place in this folder should appear as a dynamic wallpaper