Sure it is. Of course it depends who God is to you, but in what are considered the mainstream religions, it has to be.
I don't want to argue about God's existence, so if that's what your here for stop reading.
Religion and God at their core are a code of ethics. Religion came to be because...