I've done it too... make sure there is no wax build up on the floor (back in the day people used to wax hardwood floors) , be sure and prime with a good primer, then you can generally use any paint you want to as long as you seal it well with a varathane. Just make sure all paints and sealers used are the same component...acrylic/oil/ whatever they may be.
I find the rustoleum paints the best for any application that will be used roughly...doesn't ever chip. Now when I did it years ago I used household waterbased paint and primer and sealed with a good poly. I used to stencil my floors.