I think it depends on what you define as “discipline”. I agree with the others, bunnies do not understand or respond to what we would normally consider disciplinary actions. However, bunnies do teach each other that a behavior is undesirable using a language that they understand. So we can “discipline” bunnies in that way by speaking to them in their language. I think BB is right. I think your bunny is interpreting the tapping as something completely differently that what you were intending. Lucky for you, it still had the desired outcome.
A lot of the things we do to teach our bunnies not to do something is based on bunny language. For example, we can let out a high pitched squeal if our bunny bites us too hard.
That being said, bunnies can and do understand what “no” means. They understand that you want them to stop whatever they are doing if you use it enough times. Whether or not they chose to listen to you, it depends on the bunny and their mood. LOL
Wooly will sometimes go to nibble on the baskets that are part of the coffee table. I’ll say “NO” and he will stop and look at me. Sometimes he will test me by slowly moving in to give it a nibble (keep in mind, he is staring at me the entire time), but if I say no again he usually listens and leaves it alone.