Precisely.
It took quite a few centuries for the laws and cultural societal rules underpinning (often upon pain of death) the enforced belief in god to be quietly removed from countries like the UK.
Christianity and science butted heads for centuries. Darwin's Origin of the Species was one of the turning points that allowed society to gradually figure out a way of accommodating both the belief in god and the lack of it.
Gender identity belief has been radically pushed in the last 20-30 years, appropriating established cultural examples of a belief in some kind of gender that is separate from the body along the way (like the hijra in India and many other world examples). When picked apart - which Helen Joyce does brilliantly in Trans - these old cultural examples from around the world tend to stem from a societal desire to "fix" homosexuality, by finding a way to accommodate it. But there's no doubt that many people have embedded the belief that everyone has a gendered essence of some kind in to their understanding of the world for a very long time.
Both religion and a belief in gender identity are examples of how we search for answers and meaning, and how in doing so we're OK with circular arguments or moments when science comes up with a different answer.
That's OK. What's not OK is forcing people to adhere to a belief, either culturally or in laws. Hopefully we're now at a tipping point where people will be able to openly challenge the enforced belief of gender identity. It doesn't matter whether they say that people are "playing make-believe" or "biological males shouldn't play in women's sports". The most important thing is that the message is heard at scale and resonates with enough people.
I'll accept the criticism above that my bias is towards the latter approach, but that's because it's what resonated with me. But I still value the former. I used to be shocked and appalled at what I saw as "anti-trans". It took me ages to open Graham Linehan's substack, for example. From what I'd read, I thought he was awful so I wasn't interested in going near his views. Had I not been so invested in understanding this whole issue, it's possible I'd still be one of many people who finds comments like "playing make-believe" to be unhelpful/offensive. It's equally possible that the more hardline message would have eventually cut through to me the more I heard it. I've got no idea. But as I find Donald Trump revolting, I suspect I'd have been less inclined to listen to that kind of messaging coming from one of his party members in the past. I imagine it would have pushed me the other way, to side with the underdog.
Edited to add: I fully accept that I had misjudged Graham Linehan. I've written about this on several threads before.