Reference a node that is not wired? Possible?

There is a feature already, you can read the docs for more info getWorkflowStaticData | n8n Docs

But for your case, I’m not sure exactly if this would help…

I think @hubschrauber can help with that as he explained something similar here