In many cases, yes — depending on contract contingencies. Common contingencies include inspection, appraisal, and financing. If those conditions are not met, you may have the ability to cancel within the allowed timeframes. The key is understanding your contract terms before signing. Real estate contracts are structured to provide protections — when used properly.
Please consult your Mortgage Advisor for guidance specific to your situation before making changes.