No, you could write a script calling the needed API calls, but there is none available yet
You could add 2 or 3, then export the configuration, then try to understand the structure of the exported XML and edit that for re-import ...
You can open /conf/config.xml and insert the xml part manually without a restore.The API for Wireguard is already here, you just need to read the docs how to use it.