Home buyers disadvantaged by dual agent

Can purchase be canceled after contract is signed?