eh not exactly
okay there are certain ways to break from from a genjutsu.
1) have a teamate insert thier chakra into your body, which will stop the enemy's flow of chakra through your nervous system.
2) Genjutsu: Kai (Illusion Technique: Release)
Rank: C
Type:Supplementary
Range:Short
Chakra Cost:15 (+3 for each rank above c)
Damage Points:N/A
Description: Dispells All genjutsu except Eye Techniques,Bringer Of Darkness, Demonic Flute Illusion:Binding Chains, Tree Binding Death, and Toad Duet.
3) physical pain. shikamaru showed this technique when he was caught by tuyuya. He broke his finger to release himself from genjutsu. the pain sends an intense message to the brain, which can overtake certain genjutsu. (Will not work on upper level sharingan genjutsu)