Unless you're playing with the antidote mod, which honestly is kinda surprising something like that isn't in the vanilla game. Lore-wise, I don't see where the problem with that could be, especially when they knew what the outcome was before they caused the zombification outbreak.
It goes completely against the design intent of the game.
The devs themselves wrote a whole thing about this in regards to people asking about various things like an antidote and some way to "win" (escape the quarantine zone, military comes in and saves survivors, etc.) and you should check it out because it's much better worded than what I can write paraphrasing it from memory.
Basically, the game is based on old-school zombie horror movies where death is just one bite away and an inevitability, whether it comes tragically or stupidly from you getting overconfident. It's why the game starts with that cutscene saying that there were no survivors and this is the story of how you died. Being able to cure the infection takes away a major part of the pressure that the game places on you, and I think it goes against the narrative of the game? I thought the lore was that outside the quarantine zone, the rest of the world had died to the infection.
I 110% agree. I love the devs for sticking to their vision and think that it makes the game a really unique experience since overconfidence and getting too comfortable is the thing that gets you killed the most, far more often than the zombies themselves, but I appreciate that the sandbox let's you tinker with basically every little thing to your heart's content. And that mods are there to go even beyond that.
You can also just turn off zombie virus infection in the sandbox options, or set it to only happen when bitten.
Personally, I like to set it to bites only, with a mod that makes the zombie infection give you increasingly worse fevers. If you're not stocked up on meds with a secure base to hole up in, infection is deadly. If you're well stocked and have a good safehouse, you can lose a few days out-medicating it the first time. Second time puts you out for a week, if you're very well stocked up, but is far worse and much easier to die to if you don't watch your health like a hawk. Third time is always fatal.
I feel it adds a little wiggle room to prevent a single minor mistake or bullshit situation ruining your hard work, while still not turning you into superman.
I like this a lot, it's a like a penalty to stay inside and recoup for awhile as well as a check to see if you can survive with the resources you've saved but 3rd times the charm to seal the deal. What's the mod name?