It's not really done by the protagonist much, since it's considered pretty evil, and the protagonist usually saves anyone who does it.
Nine Star Hegemon Body Art has the protagonist robbed of his root and other talents by evil clan members, who instead graft them onto their son so he can be talented.
Ultimate Scheming System has the protagonist travel into the body of a crippled prince consort. He was a servant whom the Emperor took in, nurtured for his rare spirit root, and made Prince Consort to the Princess. After reaching Golden Core, he sleeps with the princess, only for her to steal his root and cultivation. After which he gets kicked out, and the protagonist takes it over.
Early Access game Destiny of Immortal has two examples. The first has the protagonist learn, in an early quest, a technique that lets you steal a character's roots if you land the killing blow with it. Very evil and drains lifespan every time it is used.
The second example is in one of the routes where you join the Demonic Sect: a bunch of people are being recruited based on their talent, and a naive old man passes the assessment with heavenly roots. It's revealed that the Saintess of the Sect is still mortal, but the Cult Leader uses a secret technique to transfer the old man's root to hers. This technique is worse than the one the protagonist can use, as it requires both the transferor and transferee to remain in a mortal state without having cultivated. Also, the old man gets killed as part of the process too.