Most of the code for your idea was deleted from the engine before it was released
Making the crate appear would be easy:
Code:
Behavior = SlowDeathBehavior ModuleTag_Death04
DeathTypes = NONE +SURRENDERED
DestructionDelay = 0
FX = INITIAL FX_InfantrySurrender
OCL = INITIAL OCL_Create[Infantry]SurrenderCrate
End
Or something like that.