I think you are absolutely right about the correct usage of random critical hits; a random critical hit here and there that isn't powerful enough to send you back to the load screen but powerful enough to make you go "WHOA!" does help to keep the player on their toes. Of course it ALWAYS feels good for the player to land that hit themselves.
Just to add to this train of thought, randomness by design helps to offset the repetitive nature of RPG combat to some degree. Generally, once a player becomes familiar with the enemies in an area, they’ll develop a series of plans for how to end each encounter in the most efficient way possible. Once your player has gotten to that point, they can just repeat the correct actions to win battles with minimal engagement. In a genre where grinding is often a core part of game design, this makes for lots of stale gameplay. It’s not even chess after the 4th or 5th time you see a certain troop.
Similarly, sometimes boss design lets players figure out a strategic loop of actions they can just repeat to safely grind the boss down (e.g. buff > attack > heal > attack > repeat). Once the player knows these patterns, boredom can start to set in.
Randomness in battle can be frustrating if implemented poorly, but it also reduces how frequently players will fall into pre-set patterns and go through your game’s combat on autopilot. As mentioned above, random crits for the player will always feel good and open up chances for players to utilize more aggressive strategies. And if players succeed in spite of setbacks caused by randomness during battle, it can make the victory that much more satisfying (for some, but not necessarily all players).
Usually I don’t mind being critically hit by an enemy in an RPG so long as the penalty for character death/game over isn’t too severe. One example of enemy crits that I’ve actively disliked comes from the Fire Emblem games I’ve played, where the enemy can occasionally score critical hits for triple damage and permanently kill your units. Usually you can mitigate those situations with smart play, but occasionally you just get screwed over by probability, and it feels bad every time.
If your game has relatively few battles, and these battles are longer, more strategic affairs than typical RPG encounters, I think you can get away with minimizing the sources of randomness your players have to deal with. Randomness isn’t the only way to shake up gameplay, after all.
I’m trying to strike a balance with crits dealt against the player in my current project. Normally, enemies can’t score critical hits on the player. However, each character has a “Heat” gauge which fills up faster as they act more often in battle (up to 2 actions per character per turn). The more Heat a character builds up, the more aggro they draw. If they max out the gauge, they Overheat. An Overheated character is stunned during the next round, keeps high aggro, and has a 50% chance to be critically hit by enemies for double damage.
I’ve omitted lots of details about my system, but the plan is that strategically Overheating may sometimes be a serious consideration for players. If they choose to Overheat, then they’re accepting a known quantity of randomness in what happens next. They may get off easy with the crits, or they may take multiple criticals back-to-back and have their character KO’d. They can use the rest of their party to defend their Overheated character, but if the damage doesn’t end up being that bad, it might be a waste of actions/resources. The player has to assess the risk based on the current situation and then adapt their strategy based on the outcome. However, they’ll always have agency in when these situations occur and know exactly what kind of odds they’re dealing with. Or at least that’s the idea - we’ll see how it plays out!