The Jedi ain’t even that serious about the no attachments thing if we take the text(s) seriously and really look at how the Jedi treat it. What are the consequences, really, of a Jedi having attachments? It’s having a 100 rules knowing everyone will break at least 1, and everyone will have their 1. Where it breaks for the few, you can massage with extra discipline and targeted tutelage, but the rule keeps the others in line. And ultimately, there’s really nothing the council can do either way. It’s really an aspirational standard, not requisite. Something to seek, lifelong, not attain. That’s a pretty reasonable takeaway from what is intended with the depiction IMO.
In canon and EU lore, prequel era Jedi are breaking the rule all the time to little or no consequence. You become a librarian or farmer Jedi, I guess? They don’t even want people leaving really – though even that is allowed to happen.
And outside the realm of breaking rules, it’s also just true that the Jedi have comradery with one another - bonds and friendships. Amongst themselves, but then even with senators, or people they serve. Yoda and Mace can have a soft spot for even a former Jedi like Dooku as a friend at the start of AOTC, and never flinch in discussions of Obi-Wan and Anakin’s own bond. They’re surely aware of their own. It’s not hypocrisy under the lens presented above.
None of this has to exclude material critiques of the Jedi, or that their rules played a role in Anakin’s fall! Because to Anakin, there was personal consequence - his own desire to be accepted by them, to be recognized by them. That is selfish, and centers the Jedi path as hierarchical. His love for Padme is as forbidden as it can allow him to become a true blue Jedi, the “possessive love” often discussed doesn’t actually emerge until after he’s committed to the dark path.
If the Jedi Order as a concept are being dissected by the prequels, I think looking at “repression”, religion, or cultish dogma is the wrong conversation. There’s more going on re: establishment ineffectuality and pedagogy.