You have a stronger mind than most, if that's the case. Logic was not something you could easily dismiss, and so it swayed you. For you, not even the risk of being disowned was worth pretending you believed. The same cannot be said for most.
But did you really believe that science was the work of the devil? It doesn't really sound that way. I get the inkling from your writing that you were never really sold on any of this stuff, which is what lead to your doubt. But even if that's not the case, not everyone is willing or able to do what you did.
I will say, however, that it is often the scholarship of one's own holy text that is the strongest case against their faith. I have mentioned this several times recently, but Dan Dennett recently conducted a study of priests who were secretly atheists, and found that many seminary students bail out or at the very least react angrily to the biblical scholarship they are made to undertake. Once it becomes clear that the text they believed to be inerrant (or at the very least, the word of god) contains wishy-washy translations, and was compiled at best arbitrarily, and often for political purposes, it's a stunning blow to their faith. One priest even went so far as to say, albeit jokingly, that it was impossible to graduate the seminary as anything other than an atheist.
But the same misinformation that has been applied to other arguments against them can be applied to stories of their founding. I just watched an old clip of Christopher Hitchens guest-hosting a news-talk program from the early 90s in which he interviewed a father-son white supremacist/separatist duo, and the level of delusion was amazing. The father at one point meekly admitted to being found civilly culpable for a black man's death, but claimed that the witnesses brought against him were bribed.
Being against the law to believe in something has never stopped that thing from being believed. Look at Christianity! Anyway, you're talking about a separate issue. As with anything illegal, its availability is hardly a problem. For example, if marijuana were legal today, I'd have to drive to the corner store to buy some. But because it's illegal, I could in all probability knock on two or three doors in my complex and find someone willing to sell me some. The same would apply to the Torah if Judaism were illegal, or the Koran if Islam were illegal, or to The Selfish Gene if evolution and natural selection discussions and reading materials were outlawed.
Unless, of course, you're Amish, as was your case(?), in which you're pretty much secluded from modern society. But in other cases, it's not that children and adults don't have access to alternative theories, it's that they have built-in defenses against them.
You misunderstand my point. I'm not saying it's impossible. I'm saying that you're stronger than most people, because most people who are born into a religion stay with that religion their entire lives. I don't discount the dulling effect on religion that secular society has had, and as a result how few people are truly as pious as they might profess to be, but that too is beside the point.