If it doesn't matter what country the stock is from, you can use any fixed stock AKM tang and any AKM stock.
the one in the second pic is a milled receiver and the stocks mount different then the stamped Yugos, but if you want a Yugo stock you need a Yugo stock mount like the M70 series uses and a Yugo stock. These parts can be found as new made pieces but surplus is hard to find now.
Are you planning a suppressor or SBR? If not build a look a like with a 16" barrel and fake can for the look.