Yes. Most discerning shooters do.
Just make sure you buy rings that fit the rifle (probably 3/8") and the scope (probably 1").
You might have to go on line to find them.
Usually the only difference in a rimfire and rifle scope is:
1. beefiness. rifle scopes are beefier than rimfire scopes.
2. parallax. rimfire and shotgun scopes are generally made for a 50-60 yard parallax. rifle scopes are generally made for 150 yard parallax.