Yes. People in medieval times care a lot about religion, and even heretics in the High Middle Ages did not refuse the existence of God. The heretic movements even had religious forms, with preachers, beliefs, and rituals.