Is there such a plugin, where you can select a bunch of ctrl refs and then it will automatically wire them into a build array function?
Yup, check out this one:
https://decibel.ni.com/content/docs/DOC-43221
After you install it and refresh the menus, multi-select your control refs, right-click, and select Create > Build Array.
Thanks!