Yes. Brokenness does not disqualify you from being loved by God.
God often ministers deeply to people in the very places they feel most wounded. Your pain can become a place of surrender, compassion, wisdom, and testimony.
Your marriage matters. Your family matters. But your identity is ultimately found in Christ.