Duckdns multiple domains

Many users do not have NAT Loopback on their router.
This is a problem when you want to integrate speakers or access it from the local network.

The duckdns addon allows you to update multiple domain names under the same certificate, but updates all names with the same IP.

Would it be possible to introduce modifications so that several subdomains are updated with a single certificate but the IP is not updated in one of them? Thus, one of the subdomains could be left pointing to the assistant’s local IP and accessed with the same certificate.

Possibly it would be enough to modify this line of code so that it only updates a subdomain: