Midshipmen Regulations (COMDTMIDNINST 5400.6L), spell the guidelines out clearly; one, there can be no upperclass (1/C, 2/C, or 3/C) to 4/C relationship and two, the MIDN cannot be in the same company.
"2. When prejudicial to good order and discipline or of a nature to bring discredit on the Naval service, unduly familiar personal relationships between Midshipmen in the same company are prohibited. Any Midshipman who desires to engage in an interpersonal relationship with another Midshipman in the same company shall request transfer to another company and shall affect such a transfer prior to engaging in such a relationship.
2.15. RELATIONSHIP OF UPPER-CLASS TO FOURTH-CLASS
1. Overview. Due to the unique training environment that the Naval Academy provides and the essential leadership role that upper-class Midshipmen play in educating and training fourth-class Midshipmen, upper-class and fourth-class Midshipmen have a senior-subordinate relationship that must be respected and protected. This prohibition applies to all upper-class/plebe relationships; irrespective of how or when the unduly familiar relationship began (e.g., prior relationships are not exempt)."