Okay, sure. But how can you identify its use? You'd better be absolutely confident or there are likely to be professional consequences.
Not to mention completely destroy your relationship with the student (maybe not so relevant to professors, but relationship building is the main job of effective primary and secondary educators.)