It would be great if it was possible to create a flow programmatically this would enable the creation of sites where flows are triggered by events on lists within that site.
this should include options that can be called from the Flow Management Connector so that flows can be created from Flow.
You can programmatically create flows. Read more about the specific action here: https://docs.microsoft.com/connectors/flowmanagement/#create-flow and the announcement here: https://flow.microsoft.com/blog/planner-triggers-connector-improvements/ The API is also now documented here: https://docs.microsoft.com/flow/web-api so you can use whatever tools you want to create or update flows programatically.