WireGuard Token API

The other day I wad discussing a similar setup with Kurt. And the basic idea was to run a system job on every new node and have it create a wireguard connection to which HAProxy will push all incoming connections. Does this development mean I could automate the creation of a wg connection for new nodes?