Yes. The game's own score page records a small number of players who have ascended — the term for winning — several times over, and they tend to do it under deliberately absurd constraints: as a vegetarian, without potions, wearing only tourist armour, or killing everything with a camera.
That is the culture around NetHack. Beating it once is a serious achievement, so the competition has moved to how restrictively you can do it. The game is brutally lethal and there are hundreds of ways to die, most of which you will only recognise in retrospect.
Two pieces of hard-won advice. Do not eat a cockatrice corpse, because you will be petrified. And to remove cursed armour, find a succubus, agree when it offers to undress you, wait until the armour is actually off, and then run.
Expect to die a great many times. That is the intended experience rather than a sign you are doing it wrong.