Yes but if that happens the ref should still warn BOTH fighters for the healthy and safety of both fighters.

Although when you watch the fight you see Chicken Little blast Ruiz like 3-4 times as Ruiz is bending over to avoid the punches and those are illegal and he should have been penalized