Nice idea! The tool you describe is called a 'slide hammer'