Not yet, but support could be added.
Though perhaps it's better to just have the script use the point currently under the mouse cursor, which you could do now (though you may not know how to get that point), then the pattern would be triggered by the keyboard and targeted by the mouse. Though naturally what you describe is the better long-term UX because people expect to be able to use it entirely via the mouse.
You can also have a pattern place turrets around each wormhole (all in one pattern triggering), or all wormholes that border a non-human planet, weighted based on some threat evaluation you code in, etc.
Basically you can do whatever, it's just a question of determining what you want.