4

Unfortunately, no by RAW.
As you've quoted, the spell requires (my emphasis):
a pile of bones or a corpse of a Medium or Small humanoid within range.
Once a dead humanoid is turned into a skeleton or zombie, they are no longer humanoids, but undead. Their form may be that of a humanoid, bu...