You wondered: "would that really work?"
Wonder no more.
This YouTube user walked up to a weakened Imperial Walker. He punched it in the leg. Then it exploded.
Granted it had just taken a ton of damage via other means but still — the finishing blow was a punch in the leg.
This is why we play video games.