I love AK’s, but I do not like underfolders at all. That wobbly stock and awkward cheek weld pretty much ruin what is otherwise a truly excellent combat rifle. If your only experience with full auto AK’s is with an underfolder, you probably will think that AK’s are some sort of sad joke. The fixed stocks and side folders are much, much better, and allow the AK to be used effectively.
Converting an underfolder receiver to a fixed-stock style will require major reconstructive surgery, and if not done by a skilled artisan, will look like absolute shyte.
Converting to an RPK-style configuration is doable, simply by machining the RPK barrel to fit the AK trunnion. I am assuming that your transferable underfolder is a Chinese AK. Those use a “press and pin” barrel which has a 19mm journal at the chamber end. An RPK barrel will have either a threaded chamber end (for use in early, threaded milled receivers), or a 23mm journal at the chamber (for use in late, press and pin milled receivers and all stamped receivers). Both of these barrel types can be used in Chinese press and pin receivers by lathe-turning the journal at the chamber to be a press fit into the Chinese rifle’s 19mm trunnion.
If your transferable underfolder is not a Chinese AK, then it is a Hungarian FEG SA-85, and is so rare and valuable that it should not be converted into an RPK. European AKM rifles use a 23mm press and pin barrel, so a press and pin RPK barrel would be plug-and-play. An early threaded-in RPK barrel could also be used by lathe-turning the chamber end to 23mm.
As was previously mentioned, an RPD is completely different than any AK-based firearm. The only common link between the two is the 7.62x39mm cartridge.