There is nothing that prevents somebody who has a few crazy ideas about himself to be a great moral teacher in other respects. The one simply hasn’t got anything to do with the other.
Besides, Jesus was not a ‘great’ moral teacher. He was not an utterly bad moral teacher either, but his morality...