Hello Feeling flat,
Welcome to the forums, it's nice to meet you. Though, I'm really sad to hear you've been struggling. It sounds like there's quite a few pressures on you at the moment and it's really affecting your sleep and mental health.
In my own experience, feeling flat is often a sign that I'm overwhelmed and stressed by things that I can't emotionally deal with on my own. So even though talking to people doesn't solve the problem, it often helps
me emotionally manage the stress, so I can be in a better state to actually deal with the underlying issues.
Do you have anyone to support you? Friends or family, or even a doctor? It'd be lovely to hear back from you when you feel comfortable. We're want to make sure you're okay, but because we can only speak online, it'd be great to hear what support you have in your life already.