It's the future and someone has invented the technology to allow people to be able to instantly painlessly and reversibly change their body parts. The trans issue goes away. No one has cancer anymore. Everyone is gorgeous. People can experiment with animal parts, or even just weird things like a long neck if they wanted.
It has an effect on the justice system. Prisoners begin to be sentenced to one of two tiers of punishment. Prisoners in Tier 1 gets no alterations to their body. Prisoners in Tier 2 have their cock, balls and prostate removed, and have their nerve endings realigned so they can't stimulate them unless they shove things very far up their ass, and even then, the orgasm reflex has been deleted altogether. They get everything back on release.
Our protagonist is a 19-year-old wannabe gangster who gets caught up in a gang murder. Since he was naive he was the only one who didn't cover his face so he got identified. He had no real defence, and no money for a good lawyer, and since it was such a high profile case with a lot of angry people, they threw the book at him. Life in prison at Tier 2.
He is devastated. His life has just begun, he didn't even pull the trigger, the other guys never got charged and... he's a virgin. He was just a couple of weeks away from convincing this one girl to let him fuck her, and he thought this gangster stuff would impress her. Unfortunately for him he didn't get to fuck her, and now he never will fuck her, or any woman, or any thing, ever again.
He knows full well what happens to Tier 2 prisoners in the prison, so he is not a happy boy, to put it mildly. The removal of his genitals took place right there in the courtroom where everyone could see. He didn't even get to jerk off one last time. In the prison, he's terrified. He knows that as a Tier 2 prisoner they were going to use him mercilessly, but he soon finds that his own sexual desires are stronger than the others', and begins to offer his ass to everyone. He's humiliated and in tears every time he spreads his cheeks, but his body craved it so intensely that he couldn't stop himself. No one ever raped him because he never didn't want it. Unfortunately for him, he never got past the edge, no matter how hard they fucked him.
12 years in, someone took a look at his sentence, took it up with the President and he received a full pardon. Unfortunately for him, the technology had since been outlawed by a new religious law and using it for any reason was strictly forbidden, except in cases of life and death. No one cares for the cock and balls and ability to orgasm for some loser ex-con, so he doesn't get an exemption, and he is denied the return of his cock, balls, prostate and ability to orgasm.
His case gets national attention. A lot of people are on his side, but a lot of people think it's hilarious. And some want to harm him. He gets fucked all the time because he desperately needs to cum, but it never works.
One night, someone who still had illicit use of the technology breaks in quietly while he's asleep, and modifies him some more. They remove his nipples, close his asshole and give him a stoma. Now he cant even get fucked or get any pleasure from his nipples. His horniness roils inside his guts with absolutely nothing he can do about it. He spends his days watching porn and jiggling his stomach for any kind of stimulation. Most days he ends up crying in the fetal position over the unfairness of it all.
He travels to Mexico where he meets someone who promises to be able to restore him to his normal self. The man fashions him a cock and balls, a prostate, nipples, opens his asshole, closes the stoma. The cock can even get hard, but they had no sensation whatsoever, and he remained completely orgasm-proof, except now something had happen to the entrance of his hole. Whenever anything touched even lightly, even for a split second, it made him feel like he was on the edge, and it would stay like that long after the stimulus stopped.
Still depressed about his lack of orgasms, he finds a new sexual habit to pass the time. All he has to do is tap his hole once, not even insert anything, and he would writhe around in edging agony for about 20 minutes. He would slowly recover and dare himself to do it again, or do something even more stimulating, and every time he regrets it as he lays there writhing on the very edge basically for hours every day.
He realises he's slowly going to lose his mind, so he decides his life is up in the air and miserable enough that he was going to try one last thing, and if it was the thing that finally broke his brain and sent him to an institution, so be it.
He bought a fuckmachine, and a set of wrist and ankle stocks that would keep him on all fours unable to move. He set up the machine so it would fuck at just the right height, distance and thrust, put himself in the stocks, locked himself in with padlocks, threw the keys out of reach so he was stuck, then turned on the fuckmachine at full speed, which had been very close but not touching him yet. As soon as the knob of the fake cock first punched his hole, he saw stars. The knob went all the way in and all the way out. It took only half a second to go all the way in and out, and it was doing it relentlessly.
He immediately starts laughing crying and screaming all at the same time, for about 10 seconds, then he dissociated, then he passed out, only to wake up again immediately scream-cry-laughing all over again. He doesn't pass out again and endures it fully conscious. It goes on for about an hour and he starts falling out of touch with reality.
His neighbours think he's being tortured so they just broke the window to get in, finding him bound to the machine. They stood their for some time watching him being tortured sexually by his own predicament.
He's completely unaware of their presence. He's entirely in his own world, because much to his surprise, he feels the sensation slowly begin to change. Could it be? Is he about to have his first orgasm in about 15 years? His hole tightened instinctively, trying desperately to cum, when suddenly, all the sensation suddenly returned to his dead cock and balls and prostate. He was literally about to cum and he was in complete disbelief, when suddenly it all stopped.
One of the neighbours found the control for the machine and turned it off. The sensations in his cock and balls went away and they became numb like before. That orgasm that was 0.1 seconds away from genuinely returning to him was thwarted. He immediately began crying and yelling as though a family member had been shot. The bewildered neighbours free him from the stocks and his hands go straight to his cock, to try and regain that orgasm he nearly got to have and badly needs. But it's no use, the sensation is gone.
The neighbours call the police and an ambulance, who assess him as being completely insane, and he is institutionalised. In the hospital, they let the mental patients do all kinds of things that don't hurt them, because what other pleasures are they really going to have in their lives, living in a place like that?
So he spends all day every day fucking himself with a cucumber, in a vague and fruitless attempt to regain any pleasure in his cock like he felt that day on the machine. He fucks himself while eating, while watching TV, while playing games, and he stops only to shit, then goes straight back to fucking himself.
He doesn't really know where he is, who he is or what's going on around him. All he knows now is "must fuck my ass". A far cry from the cocky teenage wannabe gangster, all he wants and needs is constant anal stimulation. Visitors are astounded by the sight of the famous ex-con, fucking himself constantly wherever he goes no matter who sees. Some of them don't know his story and assume he's gay, and are shocked to learn he is actually heterosexual. He never wears any pants or underwear, they tried but he always tore them off to get at his asshole. Some visitors, other patients and some of the staff like to fuck him because he never objects, except that when they finish and pull out, he begins to whimper and panic and look around frantically for his cucumber. Once he finds it, back in it goes, and out, and in, and out.
He never cums ever again.