I dont think so however you will get an awful lot of people on here disagree with me ! I will even get verbally abused for saying this lmao.....
It also depends on age of the child. If the child is younger than ten then I would smack if the situation called for it.
If the child had had clear warnings but still persisted in being out of control then I believe it is sometimes needed, not often but sometimes.