If the engine's running, you're not damaging anything anymore than you be if you were driving - just wasting gas. Your alternator could probably take a beating though, since it's getting less charge than if it the engine was running at higher rpms...