The founder of Milo did this very thing. He queried the eBay API, aggregated items for arbitrage, then had them sent (delayed, I suppose) to the winner of the optimized auction he had set up after the buy. Made a good deal of money until he was found out and stripped of API access (arbitrage is not allowed). Not sure if there was an Amazon angle.