Insomnia can be a debilitating problem. It can make you feel groggy, irritable, and fatigued throughout the day. It can take several months for an exercise routine to start improving your sleep.