If we look on the history, definitely yes.
For eg, I have one XIXth century
pious manual for youngs girls after she left the convent (to unederstand as she has finished her schooling). The author, a priest said that choosing the convent is the easier way to the Heaven. He said that marriage seems a romantical option, but he warns girls that marriage does not always make women happy, you could end up with a difficult husband and full of earthly problems. And if they doubt what he said, just aks married women around them.
It is only recently (so since the second XXth century part) that marriage had been valorised qand present as equal as religious or sacerdotal life. The coming of marriage of love in the western societies as the norm, and the works of John Paul II, among others had played a great role in it.
How then are ther spouse and child(ren) an obstacle?
Many ways. As I said it is very recent that almost all spouses choose themselves out of love in western societies.
Many couples have disagreement on many things.
Many don’t know how to communicate well.
It is difficult to have a marriage when the partners are exactly on the same page on the main topics. And it include religious life. Our catholic religion influence greatly who we wants to live our marriage, who we wants to live family dynamic, gender roles, sexuality, procreation, to raise child, the parctice of our faith both as private and public. A spouse can easily become an obstacle.
And divorce rates in our modern societies is very high. It become increasingly a miracle to stay married until one’s death.
So NO, the way we live our marriage can influence a lot how a Godly person we are, and and an hypothesis (because God decide) what our chances to Heaven are.
It sounds like a weird view on Marriage.
It is not weird, because as I explained marriage is hard.
Religious life seems to have less moral dilemna, but we should not enter it without any real vocation.
And all the crisis such as sex scandals among the clergy makes us aware that it is not an easy path too.