Thank you for your feedback!
I used Softbody2D plugin. It even provides breakable soft body, and I made garbage bags breakable at first which looked really cool, but unfortunately with this thing enabled web build performance dropped significantly.
What this plugin does is it generates voronnoi pattern from the texture you provide then adds a bunch of rigidbodies with joints between them. It also creates skeleton node with bones and links them to rigidbodies via remote transform, which allows for the texture to deform.
I also had to modify generated rigidbodies to allow for empty space inside the bag.
I made this game using Godot 4.3, but when I started the project I knew 4.4 is coming, so I tried 4.4 release candidate build but unfortunately this soft body plugin didn't work appropriately for some reason, so I switched back to 4.3.