Yes, in the context of his own game. Shadow's motivation is revenge against humanity after the G.U.N. forces killed Maria, and Shadow the Hedgehog (2005) lets you play that anger out — including the option to use firearms against human soldiers.
It's the reason that title stands apart from the rest of the series: it introduced guns, a morality system, and a genuinely dark tone that prompted plenty of debate about whether it belonged in a Sonic game at all.