sell plugin that depends on external app ?

i have a software developed with c# wich converts a surface into a touchscreen
and would like to offer a plugin on the marketplace that uses my software.

Is it posible to sell the plugin in the marketplace and attach a unique license of my software to that plugin ?

The plugin would be just an api to use my software so actually i want to charge for my c# software more than the ue4 plugin itself, it even could be free.

Are there any options for this cases on the marketplace ?