That is not at all the experience that quite a few depressed people have.
I had it, couldn’t sleep well for a month. My ex girlfriend had it, she couldn’t sleep for 5 days.
Many (most?) depressed individuals do experience sleeplessness, but that's not at all universal.