I doubt if doing wall-sits will permanently damage the child, unless it is in excess.
However, before any discipline I think it is important to explore why the child is misbehaving. Children misbehave for a variety of reasons; having a bad day at school, stress, feeling lonely, tired, or...