I think I've read something like this the only difference is that the mc decides to kill himself after being rejected and failing to change the heroines even though all of them die in the end and then is transferred to another universe to live as an extra.
I don't remember it's name unfortunately but If I'll ever remember it or find it or any other similar story I will inform you.
A4KL:Do you remember the story name cause it sounds interesting?, As a reader myself I would like to read it onceimage