Thanks to your advice, I got my realm back! A friend went in, killed all the villagers, then destroyed the beds and work blocks, to fix the issue. One other tip is; to do this at night time when the villager AI isn't as active since my game definitely glitched at sunrise. I think my problem was that i had two fairly big villages close together and the villagers were free to go visit both. Perhaps it was like the Buridan's ass paradox.
Thanks to your advice, I got my realm back! A friend went in, killed all the villagers, then destroyed the beds and work blocks, to fix the issue. One other tip is; to do this at night time when the villager AI isn't as active since my game definitely glitched at sunrise. I think my problem was that i had two fairly big villages close together and the villagers were free to go visit both. Perhaps it was like the Buridan's ass paradox.