Writing is a useful art and a very powerful tool if used for the benefit of the human kind. As long as you make it clear in your prelude that whatever you are writing is fictional and free from any elements of heresy, it’s fine to be creative and useful.