Yes, but you may lose earnest money (basically, a security deposit given to the seller upon signing a contract).
You can also face legal consequences if you back out of the agreement for a reason not outlined in the purchase agreement. This document outlines important details, such as repairs the seller is responsible for and contingencies of the real estate deal.
However, there are certain scenarios where breaking a purchase agreement is understandable. If you lose your job, can’t sell your current home, or can’t get approved for a mortgage, it’s best to wait until you reach financial stability before buying.
Other issues with the home, such as a failed home inspection, unrepaired problems, or difficulty with transferring the title, are also acceptable reasons to back out of an agreement.