Just thought I'd say I experienced what you mentioned for about 7 years. I was diagnosed with Panic Disorder. At the time I was also severely ill. After being diagnosed with Diabetes type 2, anemia, and PTSD, I saw how all these these played into each other. When I first started avoiding going to sleep, I became hynogogic. It means you're body starts to shut down from lack of sleep and your brain thinks it's asleep even though you're awake. This caused me to become psychotic, as would anyone. I was told that I could die from exhaustion. It's really a vicious cycle. The symptoms caused by illness cause psychological symptoms to worsen which caused my illness worsen...and so on.
What really helped me finally get to a place where I'm not literally anxious at the thought of sleep is Cognitive Behavioral Therapy. You learn what thoughts are behind your fears, what feelings are hidden in them, and then practice techniques to cope and overcome it.
Good luck and take care of yourself, ignore nothing... fear is real but you can get your life back.