.177 to a .22 yes with a barrel and bolt. .177 or .22 to .25 not worth it better off getting a used .25 as you need a breech and TP and Valve and barrel and bolt.
Some things may be more trouble than it's worth. I second what Dairyboy said and maybe just sell your .177 and buy a used .25. Too bad I don't have a .25 to sell you if that's what you really want. PM me if you want a .22 though