As someone in grad school right now, I have to say, that depiction of a prof feeling that way about a student is... pretty gross.
Like, yes. Its a common enough thing for students to not really give a new prof a fair shake, and having a student who cares is always appreciated.
But they'd just be thankful. These people are often very professional.
And I say this as often one of the few students who ever actually participates in a class. The idea any prof I've had would feel sexual feelings for me for doing so is so... I would legitimately feel unsafe if that ever happened. Even if they were 'super attractive'.
To go so far as to feel romantic attraction, attraction for a student, violates so many ethical boundaries, especially one who works in your lab.