Yes. A seller can back out of an accepted offer or before closing, as long as there are no specific clauses that state otherwise. That being said, whether or not a seller can back out of a contingent offer depends on the contract that was written and what is mentioned in it.