Can you shoot a fox with a 22 rimfire?

22 rimfire's have been shooting foxes in the hen house for years. I would not to take a shotgun for that job. Keep the range reasonable (100 ft or less) so a good clean shot / kill is going to happen.