Can a DM permanently kill a player in DnD 5e?

Currently my player is at 0 HP and doing death saves.

The DM however, has said an Ogre is holding me upside down by my legs and is going to potentially rip me in half in the next session.

Since I’m not Deadpool, I would assume this would permanently kill me and render death saves moot?

My question is, can a DM do this?

Why would the DM do this you ask? Because I’ve been playing a comical, annoying and selfish character for about 30 sessions now, so the DM and my party think it would be hilarious if I was killed off.