Yes, I have but the cool thing about writing is that ~anything~ can happen if you want it to. Obviously, the issue with that is execution.
I remember a really big corner I wrote myself into was the climax of my story. In short, we have a 10 year old boy who has to fight a grown 40 year old, 2 meter tall mosquito dude who can fucking fly. This child was also injured from a fight from the secondary villain too, like how was he genuinely gonna win? I can't pull a power of friendship in this case!
I remember being so stumped over this. I asked for any ideas on discord, and someone suggested "the main character cuts down a tree and it falls on the mosquito dude." THAT IS SO RIDICULOUS! (Love the person for trying, so lovely) But I did actually end up working out a solution. (No falling trees.)
Like when it comes to this kind of stuff, you gotta be willing to make big changes, world rule changes or find another solution to the problem.
Slight spoilers for my comic readers (this scene is like 5 years away from happening so whatever)
My solution was going. "Okay, so this scene takes place after a scene in the kitchen. There's an easy way for the MC to get a knife. He had good reason to bring it with him that I can establish. He is a character that wouldn't kill the villain, but he could absolutely use it for defense." And my solution was: He doesn't have to kill the villain to win. He just needs to injure him enough to run. If the wings get cut, the villain can't fly after him, and if the injury is painful enough it'll slow him down when running.
So I managed to make a scene where the main character could win against a character he was extremely outmatched by without making it ridiculous or out of character. Like my solutions are using the scenes I've set up previously, adding establishment and justifying what happens based on what I know about the characters.
But now that I'm working on writing a murder mystery, this is put on FUCKING HARD MODE. But it's okay, I'm taking on the challenge, and it's gonna be interesting to figure out to say the least.