The only way I can see everyone getting out happy is when the author introduces time travel reincarnation (i.e. a returner) and has it were the MC avoids his death event.
@Dazdigo great but doesn't look like that will happen her.For Some reason this has a comedy tag.So I'm hoping we get a happy ending even for the yandere.