Every religion has its own beliefs and prohibitions, but not all people belonging to religions follow the beliefs and prohibitions, especially those who do not wholeheartedly respect their religion, as time goes on, especially in today's era , there are many people who disobey things they shouldn't do just to satisfy their curiosity and they want to try something and not look like they don't know. Let's be real here, there's a specific religion but i won't mention it, there's a lot of countrymen and their religion prohibits gambling because it is a strictly prohibited for them but why do many religion members participate in online gambling? and the rest of them is openly promoted on social media? others are addicted to casinos too? The situation is different now compared to before where people are really afraid to disobey the forbidden things in their religion.
To answer the question. There are people who do not follow religion blindly, there's a huge difference between morality and religious laws. Some religions try to mix the both, just because something is declared immoral in the society doesn't really mean there's a law in their religion that directly frowns against it. Most religions has rule books, Christians have their Bibles, Muslims have their Quran and so on. Some religious followers believe that as long as it's not written in their sacred/Holy Book that they're not going against their religion even if society or religious leaders frowns against it. Example is the habit of smoking and gambling. Most religious leaders frowns against them even when it's not really written in their Holy Book. They preach against them because they fear how disastrous the outcome of those habit can turn out to be. So they make it look like they're sinful so their followers can run away from them. While many other followers blindly follow their leaders, their are some who ( not because of curiosity) decides no to follow blindly.
Religion and morals matter. Super complicated, but people need to realize they're different. Its excellent when people study religious texts. You wont believe what some preachers promote thats not there!
Be smart and thoughtful about your faith. Questioning suspicious information isnt rude; it leads to the truth. Like smoking or gambling. If your holy text doesnt mention its evil, it may not be about blind obedience. It could be personal choice and responsibility.
Religion should be about learning, not blindly obeying rules someone made up. Empower people to think independently within their faith. That's ideal for getting to what matters.