I can't really think of any RPGs which have influenced my philosophical outlook on life, and honestly, the genre as a whole is pretty hit-or-miss when it comes to handling subtle, abstract ideas. While a handful of RPGs do make genuine attempts to tackle philosophical issues, most end up just spoon-feeding players reductive messages instead of inviting them to explore difficult concepts via narrative and gameplay.
To be fair, sometimes games do succeed in presenting those reductive messages in moving ways that are important to us as individuals. But I can't really think of any time that an RPG has challenged me intellectually in the same way that certain books, films, or TV series have. And since games are still in their infancy as an art form, it's not surprising that few succeed at conveying ideas related to complex philosophical concepts.
One complicating factor is that most of the enduring questions in philosophy don't have clear answers, and sometimes philosophers can't even agree on the right questions to ask about a subject. Artistic media can be an excellent way to express the ambiguity of these problems, but it can sometimes be challenging to bring your narrative home when your themes are open-ended and your "message" is really more of a question. Trying to keep the events of your story thematically consistent with all of the nuances of your chosen problem(s) also requires a deep understanding of the issues, and it can get messy very quickly. Trying to express these ideas through gameplay mechanics can be even more daunting.
For a personal example, one of the philosophical ideas I'd like to integrate into my own game is the question of persistence of identity. In short, the question is about what makes us the same person we were in the past, when aspects of our identity are all slowly changing over time (such as our beliefs, the people we know, our role in society, etc.). It's similar to the classic paradox of
Theseus' Ship. For example, I may be mostly the same person I was yesterday, but I have almost nothing left in common with the person I was when I was two years old. Every cell in that two-year-old's body has died and been replaced by now, and I don't remember anything from that time, so what still connects me to that person from the past? If I'm not that person anymore, when did I stop being them? Will I eventually stop being the me from just yesterday, too?
After I had settled on this idea, I realized that I had a problem reconciling it with my existing story. My previous story had involved an underworld/afterlife where the souls of the dead resided. But to write a setting where souls exist in the afterlife is to make a narrative claim about the persistence of identity. It's to say that there exists a spiritual force separate from our minds, bodies, and memories, and this spiritual force is what actually holds our identities intact, even through death. I don't know if souls truly exist, but the rippling implications of that claim caused lots of other issues for my narrative, so I was ultimately forced to drop my afterlife setting entirely. I'm also still deep in the process of figuring out how I want to work these ideas into actual gameplay, and I don't expect to find a satisfying solution for that problem anytime soon.
Lastly, for writing a wise mentor character, I would consider that these characters usually have lived long lives filled with many mistakes and regrets, and their past failings are often the source of their wisdom. While you could hypothetically write a mentor character who simply achieved enlightenment through meditation, religious epiphany, etc., it would be an uphill battle to make this sort of character feel human and relatable. The mentee in your story is also more likely to have a compelling relationship with a mentor who gained wisdom through struggles which they can relate to, rather than with a mentor who found the answers in some more abstract way.
I'm not familiar with Kreia's character, but consider that your other example, Iroh, is a man who was once known for his savagery in war and fierce commitment to his country. However, after the war he led brought personal tragedy upon him, Iroh began to reevaluate the relative importance of his country and his family. He eventually found some sense of peace and purpose in mentoring Zuko, even as the rest of his countrymen turned against him. He still carries all the pain of his past with him, but that pain is now what fuels his resolve to guide Zuko on a path away from anger and violence. Iroh's philosophy may not be deeply existential or present difficult questions for the viewer, but it's his human failings and his enduring love for Zuko which make his wisdom ring true. A wiser mentor who cared less than Iroh never would have been able to help Zuko find his way. The bond of trust formed between mentor and mentee over time is more important to the mentee's growth than the specific lessons imparted.