The racket balls probably won't work as Chris mentioned they will be too stiff. The foam on a wood floor is just fine, it is fairly soft and won't scratch the finish or anything.
This would probably be your easiest alternative. I have one of these on wood floor with zero issues.
.