There is some evidence that just maybe one of the rebel leaders of the Jewish revolt was turned into Jesus and then the mythology and god like messianic qualities added later, maybe as spite.
Just like so many other bible characters Moses, Nimrod, David, Solomon, etc. these all could of been based off a real person or mythological character from a different place or time and then made to be a real person in the Bible.