Getting the alignment right may be tricky, but if you have the right tools, it should be no problem. You would need both a barrel vise and a receiver wrench with the right bushings. Those barrels are in tight, though, so it won't be easy.
Note, Ruger makes the barrel, complete with front sight base and feed ramp, then screws it into a piece of threaded tubing. After that, they use the feed ramp as a reference point to cut the ejection port and do the other machining on the tubing which then becomes the receiver.
Buying the tools would cost quite a bit unless you plan to do a bunch of them, and the chances of doing damage are pretty high. Unless you have some experience in barrel installation, I suggest giving Ruger a call and see if they will do the job.
Jim