I actually had an experience the other day. Me, my sister and her son (my nephew) went for shopping. He's an extra hyperactive child with special rebellious nature. Please don't tell me all children are, I'm saying "extra" and "special" here. Suddenly he started playing by shouting very loudly in a way that bothered everyone around. In the first couple of times we didn't say anything to him maybe he would stop. We gave him something to play with, but no use. As he repeated it, his mother decided to tell him to stop in a normal way. She did it many times but he did not stop. She looked at me wanting me to do something about it. I did the same thing in a more serious but not scary voice for a number of times. Nothing worked. I then decided to hit the lower part of his ear lightly in a way that gives little pain to feel, with my index finger
like ((this))(dunno what's called in English) giving him a serious but not scary look, raising my index finger up as a sign to stop, a sign he knows very well that I used also in all the previous attempts. His reaction was stopping shouting, looking at me with an "oh, okay" expression and getting back to playing with the stuff (he was on the trolley with the groceries). Things after that went pretty much normal with no side effects of what so ever.
That's my experience that makes me vote "Yes". But I stress that it has to considered so very carefully and only as a last resort if no other options worked.