Insert flows dynamically

Hi,

Is there a way to create a custom environment for my customers where they can create flows based on given triggers with parameters?

The use case is this:
Custom flows based on triggers from within an app.

Thanks in advance.