To explain, when a player kills certain mobs, they have a chance to drop specific items. For example, when a player kills a zombie, they have a chance to drop iron tools, armour, iron ingots, and even potatoes or carrots.
If I wanted to create a mob-grinder, is there a way to spawn mobs that act as if they can be killed by players, if a player hasn't actually touched them using only commands/command blocks? (No mods)