Yes, insomnia can become a self-fulfilling prophecy that can persist for an indefinite time. The insomniac goes to bed wanting to sleep, worries about a lack of sleep, fails to stop the racing thoughts, and makes it still harder to fall asleep.