Correct, that's what I did with caddy, which is now periodically renewing my wildcard certificate through a DNS-01 challenge.
Also, may I know which DNS provider you went with? The GitHub issues pages with some of the DNS provider plugins seems to suggest some are more frequently maintained, while some less so.