From my experience editing save files or other things, if you can find the values of max lives or/and current than maybe. But if its in the code and not a save file type structure than you'd have to change the code its self. Another option would be a cheat engine but I haven't used any of those.