Are the eye techniques in Naruto (Byakugan, Sharingan, Rinnegan) based on true events? Or are they just myth or a fiction created by Masashi-Sensei? Anyone has any references or a story behind it?
According to the Naruto wiki page on dōjutsu, there are two potential points of inspiration for the dōjutsu techniques (rinnegan/sharigan/byuakugan).
The concept of dōjutsu may have been inspired by Futaro Yamada's 1959 novel, The Kōga Ninja Scrolls (甲賀忍法帖, Kōga Ninpōchō), which featured two warring clans of ninja that had developed mutations and abilities through selective breeding, with the young heirs to each clan possessing mysterious dōjutsu.
Another possible inspiration for dōjutsu in the series may also be found in the Journey to the West classic's titular character, the Monkey God-King, Sun Wukong: After having eaten all of the 'peaches of immortality', the 'pills of longevity' and drunk all of the 'wine of immortality', and then was captured after a long rebellion against Heaven, the Monkey God-King, Sun Wukong, was then sealed into Lao Tzu's Eight Trigram furnace to be burned to ash in order for Lao Tzu to reclaim his pills of longevity. But after 49 days, Sun Wukong broke out--stronger than ever--his body having been refined by the flames instead of being reduced to ash, His eyes had also become a fiery red and golden colour, becoming known as his "Fiery-eyes golden-gaze" (火眼金睛, Huǒyǎn-Jīnjīng); an eye condition that allowed Sun Wukong to now see what's really there just by looking and the ability to see and recognise the real form of evil despite whatever form that it took on — but, likewise, it also gave him a weakness to smoke, fogging his vision.