Connect function to node without direct wire

I am writing some code using require and functionGlobalContext. This includes a self-invoking functions for checking if a database exists or must be created. Normally I access the DB via a MySQL node, however I now do not have a node to connect to the MySQL node. Is there a way to make a connection to a node, via a function, without using the wire directly from the function node or is there a way to call a node inside a function?

No - the whole point of Node-RED is that you can see what is calling what by the fact that they are wired together.
(OK so yes you can probably hack it - but you may as well just write lines of node code and not use Node-RED)