Yes, you can create, update, finish and archive experiments via the Matomo (Piwik) HTTP Reporting API.
Can I create experiments via the Matomo HTTP Reporting API?
Category: A/B Testing – Experiments
Yes, you can create, update, finish and archive experiments via the Matomo (Piwik) HTTP Reporting API.