Can being sleep deprived make you feel lightheaded?

I have not slept good the past 2 days since baby cry’s at night since he is gassy 😫 now I feel all lightheaded and dizzy at times