YUP! As I recall, it's generally under the "Conduct not becoming of an officer" catch-all; one of the thoughts behind it is that someone doing something outside of marriage might also be susceptible to being bribed into providing classified info/materials/etc.
Dave
www.davecummings.com