Calling into work

Has anyone had pregnancy insomnia ?And called into work because of it? And lied about the actual reason why you called in just so you could get more sleep because there was a few hours left till you had to go to work,and it felt you might pass out if you actually went in for your shift?
Is that even acceptable ? Calling in due to lack of sleep that we couldn't exactly control ?