Crop texture and save as new texture

In my game, there are objects that can be destroyed. When they are destroyed, the goal is to have particles burst from it. Their textures are bits and pieces of the object’s texture that was destroyed.

Is it possible in Phaser to take a texture, and create two or three randomly shaped crops of that texture?

I would then put that texture into the particles so that the particles would resemble the destroyed object.

Phaser does have a crop option for images.

https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.Image.html#setCrop__anchor

I presume you can use that function to manipulate the image and crop it in a way you wish, perhaps with a random number generator?