Is lack of sleep bad for the baby?

I haven't been able to sleep comfortably in the past couple weeks. For starters my baby wiggles like all night & second my room feels like a super humid oven & I don't have an air conditioner. I also can't get comfortable in any sleeping position. I don't end up falling asleep till like 5 or 6 in the morning. This sucks. :/