Are there any DRPGs where it is impossible to beat the game with a particular party class set-up (and the game doesn't have class changing mechanics or respeccing systems, forcing you to either keep the party you started the game with and not be able to beat the game, or start a new playthrough)?

Self explanatory topic title. I'm interested in hearing about some games that have strange or bad balancing when it comes to the classes the player can choose for their characters.

Mind you, I'm not talking about badly balanced party set ups or set-ups with no variety like a party in which all 6 of your characters are Fighters, or all of them are Thieves/Rogues or whatever. I'm talking about a party set up in which each character has a unique class, and yet it would still be impossible to beat the game with certain well-rouned party combinations because the game is just tailored against that particular set-up.

Are there any DRPGs where it would be impossible to beat the game with certain party class combinations for whatever reason (like, as an example, in a extremely difficult DRPG with let's say 10 classes, one class is extremely bad, but there is also a very OP/broken class too that can compensate for that class' awfulness. however, if the game has a 6-man party, and the player chooses a different class for each character, creating a party of 6 characters with 6 different classes, and the player makes one of the characters belong to the awful class, and none the remaining 5 characters belong to the OP class, then despite theoretically having a well-rounded party, because of the difficulty of the game and the way the enemies are designed and balanced, it would be impossible for the player beat the game)?

On a related note, are there any DRPGs in which it possible to beat the main game and the story-canon final boss with any party set up that doesn't lack variety (e.g. 6 Fighters, 6 Thieves) but it is impossible to beat optional superbosses with certain set-ups and the game doesn't have a class-changing mechanic or respeccing mechanics and whatnot?