Marketing : Sales and Expenses

Hello

A question of marketing.

I would like to raise my costs (charges, VAT, customer acquisition …) by campaign on Matomo to get my profit directly, by campaign and not just sales generated. Which is the case for the moment.

The profit would be calculated in a simple way = sales - expenses

Is it possible to do that? Is there a plugin? Is it possible to code it if this feature is not yet implemented?

Thank you for your help.

Laurent