Yes, I'm guessing that a hug from the back would be regarded as a full-blown sex crime.
"Some have had detentions for hugging.
Here in Mexico, we get a lot of hugs. I think this article is very amusing.