Is that for real? I can't recall how many videos/new stories I've seen of returning soldiers being greeted by their wife and kids, hugging, twirling and kissing. All of this while in uniform, playing with google gives me hundreds of images of this sort of stuff.
Yep that's for real. There are regulations against public displays of affection (PDA since the military loves to use acronyms) while in uniform. Just like there are regs on the proper ways to have sex. Although I think that one may have finally disappeared from the regulations after DADT finally went away because I have no idea how a gay couple can only have sex missionary style.
The short answer is yes there are regulations in every branch of the military against PDA while in uniform. If a superior officer wanted to they could bring charges against a military member doing such a thing. A command staff ranked officer can issue article 15's, send people to CC (correctional custody which is basically like temporary prison), or even bring up court martial paperwork if they wanted to.
http://answers.yahoo.com/question/index?qid=20061218050721AAtH1w6
Since I couldn't remember the regs and the UCMJ (Universal Code of Military Justice) codes, this guy answered it when I googled it. Basically a hug and kiss when returning from deployment is one thing. Dry humping, leg locking, putting your hands through the clothes of another person while you are in uniform is quite another. Personally speaking, if I was that guys commanding officer in the picture above, I'd have said more than a few words with him and would most certainly have issued him a LoR (Letter of Reprimand). As a commanding officer, issuing such a letter would have serious consequences towards his military career. It would be an automatic 2 or lower for his EPR (enlisted performance report) for the year and puts him on the control rosters since I would enter the LoR into his UIF (Unfavorable Information File). Making him not eligible for promotion for awhile. This is not the same thing as sending him to correctional custody. However, I would send him to CC if his history contained enough marks against him showing he has a problem with military bearing. If he did have a history of problems I would think seriously about issuing an article 15 for his behavior. Jumping upon your loved one while in uniform, even if being returned from deployment, is a serious slap in the face against military decorum and bearing.