macOS Share menu trigger

Will it be possible to have a "share menu item" trigger?
That is, a trigger that will add an item to the macOS share menu, then it will be possible to write a small script that will do something with the text/files that were shared, for example open them with an application that does not support the share menu, display them in a float web view, transmit them to an HTTP address, and much more.
This is similar to the new "Custom Finder Context Menu Items" trigger.
Thank you!