Hi! Wow, it's a though topic. I don't know much about it, but I could ask a friend that is a nurse and worked with terminal patients. It could really be a good project. If you want to share more, this is my Discord:
dermir.
I studied a bit Ren'Py, but I'd need to look again into it a bit