Not if they had a valid contract they can’t. There’s more to this story than has been reported.
Short sales and REOs will get tentative approval but will state that offer is subject to bank officer approval. This may not come for weeks. Until you get the signature, it’s not a contact.
The real estate agent better have a contract.