Is it possible to upload and start a .xml bot through the API?

Is it possible to upload and start a .xml bot through the API?