Iterate over config-nodes

Does Node-RED provide an API to iterate over the instances of my config-node on all flows in the backend? Any way how to achieve this?

No, there are very limited APIs available in the runtime as we've had no need for nodes to be able to inspect the running flows.

There are plenty of such APIs in the editor as thats more the place where it's needed.