Depends on your definition of OK. No one is goig to stop you from judging anyone based on their looks, and everyone does it.
Should you? Maybe. Dude could've gone with almost any other photo, that's pretty clearly indicative of lacking knowledge of social norms or of having a great sense of humor. Maybe your job isn't the place to try your humor tho