Stressing out my unborn baby

I’m 18 weeks almost.. I’ve only been getting about an hour or 2 if I’m lucky worth of sleep. I’ve been very ill and can’t manage to fall asleep and if I do it’s definitely not for long. Can this harm my baby??