I was digging recently in the sounds.json and found 3 interesting sound groups: "game.player.die", "game.neutral.die" and "game.hostile.die".
I've changed the sound to all of them but they are not present when a player dies. The /playsound command with those 3 works just fine and it is playing my custom sound.