Is there any way to run a plugin trough the console?

There are some plugins like Automator or the Plugin API that allows you to run scripts.

Is there any way to run a plugin using a script? I only found a function called “figma.closePlugin()”