This trading practice is known as arbitrage. Where traders benefit from the price differences between exchanges. It is very much possible and I personally have done it quite a few times back in 2016 - 2018! The number of exchanges were somewhat low at that time and it was easier to track the price differences. But nowadays there are bots available for such jobs. I have never used such bots but I am sure someone can help you with this. You just need a lot of money to put on both exchanges so that you can execute the trades in smallest time possible!
Yes brothers, my friends, they have such script codes, and they even monitor the prices of most exchanges