How do I make a layered ragdoll

I’m working on a game about ragdolls like people playground, but they are fruit and veggies like Melon Playground. I want to know if there is a way where i can layer the sprites without doing it the hard way where I layer the seperate sprites.
Here is an example (taken from the Melon Playground Wiki) of what it is supposed to look like:

Not sure what you mean by hard way. The ragdoll is assembled of inidvidual sprites which are connected by physics joints. There are different methods how to do that.

Here is an example for assembling the ragdoll with events:

Ragdoll - a game example from the GDevelop game making app | GDevelop

and here another one using an external layout putting the ragdoll together and connecting the joints with an action of the ‘joint connector’ extension: