Is it okay for parents to make their child(no matter the gender) lower their pants or more for a spanking?

I personally disagree with this method whole heartedly!I find it disgusting and humiliating!