Although it is possible to change piston rings without removing the engine, there is no good reason to do so. To replace the piston rings, you will need to remove the cylinder head and oil pan, so it will most likely be quicker and easier to remove the engine completely. You also want to at least hone the cylinders before installing new piston rings, and for this process, you want a clean engine block.