Well, no. The problem lies, and always will, with those willing to let others do their thinking for them. Who insist on using emotion as their primary arbiter of action. If these people didn't exist, no one would be able to "use" religion for any purpose at all.
And clearly one cannot "replace" something that is built into our genetic code. But with knowledge comes choice. We no longer choose to treat lepers are filthy outcasts, because we at least recognize a disease when we see one.
We no longer choose to blame the woman for not producing the son we want. We know it's the male contribution that determines the child's sex.
We no longer blame the woman for being "barren", since we know men can be infertile, too.
We no longer choose to perform exorcisms on the mentally ill, since we know far more about the brain than we used to.
So, there's no reason why we should choose to treat religion as anything other than an irrational urge that should be controlled as an exercise of maturity.
Re-education camps or shock therapy?