Workflow automated provisioning

We manage a set of Nextcloud servers which we have to set up and provision for different clients many of which use the workflow engine to set configure a MIME type filter for restricting the upload of certain file types.

For the time being we set up the MIME type filter using the Web interface which is tedious and cannot be automatised.

Is there a way to set up (or provision) workflows using occ or the REST API?

I cannot find a documentation on how to do so.