if their is no sex what are the consequences
If there is no sex, then what is it you are concerned about?
if it would be illegal for them to just have a relationship
That's a serious overstatement. There are many degrees and characters of relationship that are not unlawful or improper as between a student and a teacher. I am beginning to think you are talking through your hat here and don't have any legitimate or reliable information about actual misconduct.