Physically punishing a puppy (or an adult dog, for that matter) is never OK. If you find yourself in a situation where you are wanting to hit your puppy, or scruff them, or roll them and pin them to the ground, you need to take a big step back and re-evaluate the situation.