I’d rather they didn’t. As an official, fraternizing individually only creates problems overall. A teacher should teach a class objectively.
However, any other extracurricular activities should be separate from regular classes and the relationship is more tight knit, so in that circumstance, nicknames wouldn’t be an issue.
Ir you don’t separate work from personal life, you’re going to have a bad time.