I mean, you can be both -- the "money" version of Floyd Mayweather. Didn't want to get hit, but counterpunching often was his offense.
Dwight Muhammad Qawi was a 5'6" light heavyweight champion. To do that he employed quite advanced head movement, 3 types of guards, The high guard, the cross guard and the philly shell mixed in with bobbing and weaving and dipping below his opponents waist.