Chinese legend, actually, but still a good point. I seriously doubt Toriyama imagined Goku as an alien from the very beginning; that reveal only came much later and still doesn't retcon the fact that he is based off of a Chinese character in a fictional, Chinese-based world.