Is it possible to interact with AB testing through any public APIs?

No, there's no public APIs available to create or manage experiments, nor getting the test results.