I've seen a few kids that young get hurt with foosball, but it's great if older.
Pushing and pulling the the rods randomly without skill can be a bit dangerous. Teaching them how to play and use the rods correctly could probably prevent this, though it may be some work.