Reflection changes people. Art helps change their perceptions; Science helps change their understanding of cause and consequence. Our shifting change in perceptions, causes and consequences can certainly change us spiritually -- by spirit here I mean 'who we think we are, how we want to relate to one another and how we want to achieve meaning in our lives'.
Art has some impact on the 'dogma' part of religion too; the embellishment of a religious myth can become the
de facto standard for that myth, as we can see in Michelangelo's
La Creazione. (Iconically, the ancient and patriarchal God has a full but not ginormous beard while Adam, who never owned a razor, doesn't. Despite the myth being Middle Eastern, God and Adam both look convincingly European.) So Art can change how we think spiritually regardless of religion, and also how we approach religious dogma. But so too can Science.