Yes they do, it's called specific performance. It's not the usual remedy for breach of contract, but in certain cases the court will grant it. I believe M&A agreements are one category of cases where US courts are inclined to grant specific performance, but I'm no expert.