How to stretch a sprite diagonally?

I’m planning to have my player character stretch and squish when jumping and falling and I already have a plan for how I will do that. But when the character moves forward, I would like the sprite to stretch diagonally.

What I mean by that is I want it to look like the top part of the sprite is leaning forward while the bottom is lagging. So if the sprite is a square, the effect would make it look like a parallelogram with the top leaning forward.

Can something like this be done? I hope I’ve described what I’m going for well enough.

You can scale the x-axis on the sprite. Check if that works on your sprite.