Absolutely! In fact altered sleep is one of the criteria for major depression. People who are anxious and rigid and tense have trouble sleeping as well as muscle tension, aches, stomach upset, frequent urination due to anxiety, etc.
Hope I have answered your question! If so, please accept my answer. If not, please let me know.