Yeah.
It is helpful to just view religion as a code, with spiritual foundations.
When the code doesn't conflict with science (and its own code and thus methods), then there is really little problem.
But when the code does conflict with science, well, you have a logic error.
The person has to decide what is more important to them at that point - something with less proof but affirms themselves more, or something with more proof but increases uncertainty about the world.
Or they just compartmentalize. Science is good for this (say, evolution), but their religion is good for that (say, personal growth). This is weird to me, but okay, because if humans were not able to compartamentalize, they'd go insane much easier.
Out of this compartmentalization, however, can come some form of compromise. This is how some can be very spiritual and very scientific at the same time. Out of this may come the craziest ideas, but that doesn't mean they're wrong.
Mass Effect starts playing around with this with the Omega Point symbolism, imo. According to the Omega Point idea, mankind eventually advances enough to create God. God eventually comes around and creates us, who dream of Him and end up creating Him.. Thus both ideas of technology and ideas of spirituality are agreed with to some extent. This is a kind of compromise that can work in our minds, even if its also something that we have to work without proof on.
Many scientists are agnostic or athiest - disproportionally so. However, many scientists do have spiritual parts of themselves. They just may not agree with the conflicting code of religions, or at least agree less than fundamentalists.
Mordin was actually a good example. He is clearly atheist, not religious, but his respect for some religions was high enough that he could practically be called a follower... of sorts. He just didn't tend to assume wisdom on fellow mortals, but instead on more universal concepts that may guide us all. His replacement, Paddok Wiks, is even more blatantly 'New Age'. Again, as long as one can compartmentalize the concepts of religion and/or spirituality, and atheism and/or science, one can believe in both. Just probably in different or more rare ways that others might have.