You asked:

was napoleon an atheist

Sorry, I don't yet have an answer to that question.