Of course! You just need to code it according to y velocity.
If you're going up, do the jump animation (without the falling frame). If you're going down and you're not on the floor, do the falling frame.
Thanks, but most of the credit should go to Pizza Doggy with his pack here! https://pizzadoggy.itch.io/psx-mega-pack