It's completely another to pork yourself out in environments and situations unfit or not intended for such purposes. You ostensibly go to class to learn, not (eventually) fuck.
This "porking" you are referring to is not happening inside of her classroom, it's outside. The adult students should have the freedom to associate with whoever they want to, for whatever reasons they want to, as long as its legal and consenting. If any of the individual adult female students have an actual complaint of harassment, they can bring that case directly.
The teacher in question didn't personally like the nature of the associations being made among her adult students, and seeks to stop any possibility of "porking" through multiple public and elaborate means. To include attempting to indirectly shame all parties involved and force the school's hand.