Philip Jose Farmer explored this idea in a few of his stories.
In one there was an alien race. They thought it was tragic that people would die and be gone from the world forever. So they invented an artificial soul (called a “wathan”) and hooked it up to all the sentient beings. Then they managed an artificial afterlife too. Reincarnated everybody.
Just started watching it. Presently at s01e03