I wouldn't go that far.
Each round of 22LR from a 10/22 (rifle) packs close to 200 lbs of muzzle energy with the right cartridge (40gr LRN Aguila Interceptor). That's about the same energy as a 38 Special Snub with standard pressure rounds.
And a tiny hole with zero fragmentation/blossoming.
A 9mm hollow point will deliver a much greater wound and is more likely to actually stop a threat.