Never would have imagined I'd say something like this, but undead labor wouldn't really be unethical. Barring having to drag and restrain the deceased's soul in the corpse, there's no issue if you have the corpses. Heck, I bet you could easily find people willing to sell the rights to their corpse.
I get what's being referenced here, but this example would be more akin to robots with A.I..