Hhhmmm, I don't think it would be any harm to your baby if you weren't sleeping. I reckon as long as you are resting it would be ok..
I was same here when pg, probably averaged 2hrs a night broken sleep in the last 10 weeks of the pg.
Take care chick xx