I could not foresee the possibility of mixing API's of different exchanges. You can have bots for watching and for pointing out the gaps across exchanges but initiating trades through bots might not be possible as far as concerning about the technical feasibility.
I don't see any technical difficulties to buy at exchange1 and sell at exchange2 at the same time
Considering that software allows trading at both exchanges of course )