You can be a Christian and still go a different way to the old narrowly prescribed doctrines. Even Catholic priests are doing this these days. I know a couple; at least two.
Anyone here seen the Netflix film, The Two Popes?
There's a Jesuit Priest in that film, the Hungarian Franz Jalics -- who had been captured by an Argentinian death squad, abducted, tortured, and held captive for five months.
I know him; haven't met him recently and I don't even know if he is still alive, but I knew him quite well in the 80's and early 90's, and in fact was his neighbour in India for a while. He went to India regularly to learn about Vedanta and the practice of Vedantic meditation, as I did.
He's a lovely, gentle man and recognised that there's a truth running through all religions, that does not contradict them, but unites them. He went on to lead Christian retreats in Germany based on what he learned in India. He also wrote books on spirituality and practical prayer; they are on Amazon, and all influenced by his experience in India.
There are several such attempts all over the world for people to come together to find such a unifying path and a deeper understanding. (I struggle to put into words matters that can't be put into words, so that they don't evoke ire or accusations of being patronising, so pardon the clumsy wording.)
I call this, too, "leaving religion"; it's leaving the boring and empty shell of organised religion behind. I know of many lay Catholics who do the same. Christianity today is not what it used to be; Christians I know are far more open. It's about finding the golden thread that is at the core of all religions; the "vertical" path. It's no more "this is the only way".
I've noticed in recent years that floods of Russians, raised atheist, are very enthusiastic spiritual seekers!
it's a matter of learning to separate the wheat from the chaff, if you are so inclined. I guess you must first experience an internal yearning, a hunger, to go this route, though.