Well, it depends. If they're in the same chain of command, it's disallowed. For example, you could have people in a personal relationship at a military base but working in different subunits, so there's not necessarily any conflict of interest there.