You could layer a moral philosophy on top of that though. I know Rand made an attempt at it.
I don't think so. There were god kings, and calvinists, and buddhas, and stoics, all of which held at least some people to be infallible to some degree. Also, your use of the term 'legitimate religion'...