Yes, you can create, update, finish and archive experiments via the Matomo (Piwik) HTTP Reporting API.

Previous FAQ: Is it possible to use an unlimited number of variations within an A/B test?