Answer
No, Stenka Razin's uprising was not religiously driven. The Cossacks had no specific grievances against the church or the Orthodox religion. Their primary concerns were with the oppressive policies of the Russian government. Razin and his followers were motivated by a desire for social and economic justice, not by religious fervor.