This is ultimately a question that only you can answer, based on your personal opinions and beliefs in regards to religion. To give you some information that might help, Martel said, in an interview,

"The theme of this novel can be summarized in three lines. Life is a story. You can choose your story. And a story with an imaginative overlay is the better story."

In line with this, he asserts that religion is just a form of storytelling that makes our existence here on earth a better story than being all alone with no purpose, maker, comfort, or explanation for why bad things happen. He said that religion "is a way to interpret reality." He suggests that faith in religion is our way of dealing with existence. Faith is taking that leap into the dark, abandoning logic, and believing anyway. He included the island to shimmer "just beyond the horizon of rationality," which requires you to have faith in Pi and his story to believe, just like with religion.

Taking all of these issues into account, do you believe that religion is an actual representation of reality? Or, do you feel that it is just a grand story that makes a better story than what the truth really is? If you ask yourself these questions, you will be addressing the issues addressed in the book, and will be able to answer the question of whether it changed your viewpoint on religion or not. Typically, if you are a person of strong faith, his story won't, because you believe that your belief is the truth. If you are a fence-sitter, the novel might push you over the edge, because of the logic that it presents. If you are of a more non-religious background, it might just support a previously held belief. Take these things into consideration as you ponder the question for yourself. Good luck!