Absolutely.
When I vote for someone to lead the most influential, powerful, richest, war-possible countries on the planet, I want to know who, what and where they worship because it influences and shapes their moral compass.
Religious people are free to engaging and serve in politics, but that doesn't mean their religious life won't be an issue for the electorate. Vetting a candidate is part of the political process and for many people looking at the religious framework of the candidate helps give more understanding of their view of humanity, government, morality and social policy.