Yes. Sx of moodiness and sleeping disorders are very broad. Have yourself checked medically first to see if there're no medical reasons for your sx. In any case, work on a sleep hygiene to deal with sleep issues and you can monitor your mood through a diary/journal to see what contributes to the moodiness (to find out the triggers). Find a mental health professional to guide you through the process.
Mood/sleep. Mood changes can affect sleep patterns which in turn can affect moods.