Its not a stupid question.
A lack of sleep can raise stress levels. While maybe not to the point you notice it, it will raise the stress hormones of cortisol and that could adversely affect hair.
To the point it makes a noticable difference in a short period of time? Probably not.