Yes. There are guideline-based waiting periods after foreclosure, usually longer than bankruptcy, depending on the loan program. However, lenders also evaluate the reason for the foreclosure and what has happened financially since then. Time, stability, and responsible credit rebuilding make a significant difference. Homeownership is still possible — it just may require patience and planning.
Please consult your Mortgage Advisor for guidance specific to your situation before making changes.