Yes, the sleeping is anxiety. I have spent many nights falling asleep then waking up in a sweat suddenly. I also went through a really bad patch where I couldn't eat anything but crackers without throwing it back up. All anxiety. If it persists seek some help for it. Especially not sleeping will beat you down. Been there, done that. Feel for you.
"Success is the sum of small efforts, repeated day in and day out." Robert Collier
"One's best success often comes after their greatest disappointments." Henry Ward Beecher