in the story i'm writing, there are different types of energy that can do different, but related things. Green energy is the closest to earth magic (think control over plants, but it can also be harnessed for healing and fighting purposes), while grey energy is kind of the "opposite" and controls Shadows, the souls of the dead who couldn't move on.
So say someone has access to both green and grey energy. They could harness the soul of a Shadow and return them to their body, while the Shadow controls it. Since the body would have decomposed by now but the skeleton is still intact, flesh and muscle is replaced with vines and roots (green energy) and illusions (grey energy). The reanimated Shadow can do most things humans can, but doesn't require food, drink, or sleep. It has all memories since in this world those are stored in the soul, which is the Shadow itself. The Shadow's soul keeps the illusions and plantlife intact.
Would this method of resurrection work? If not, what are the problems with it and how can I fix them so it makes sense?