Not exactly, I actually can, but I think I shouldn't try making the game reset the world state to pre hardmode, or else It may generate hallow and corruption again, leading to new issues. Maybe It could reset the other bosses status? And add a requirement where you need to beat almost bosses in...
forums.terraria.org