No, latex paints form softer films than oil based paints and they're really not hard enough to provide good service on a working surface like a floor. My own experience with using a latex "Porch and Floor Enamel" over a concrete locker room floor was dismal, and I ended up stripping off the latex paint and using an alkyd based polyurethane (which still looks like new).
But, even a latex paint would give you a few years if that's all you're after.
Use a latex "Porch and Floor Enamel". These kinds of latex paints will use something called a "cross linking acrylic polymer". It forms a film just like a normal paint, but then it also crosslinks over the next month or so, making the paint harder and stronger, which is what you need to stand up well on a working surface like a floor. And, if I were you, I'd use a traction grit in the paint to keep it from being slippery when wet.
If you do paint your foundation, use a latex MASONARY paint. Masonary paints are always latex paints because latex paints have the ability to "breathe", which means that they can allow individual H2O molecules to pass through them, but not liquid water. If you imagine an acrylic plastic resin as a long wire scrunched up into a ball, then there will be spaces between the wire within each ball. Those spaces are larger than the diameter of a single H2O molecule, but smaller than the distance between H2O molecules in water. So, individual H2O molecules can pass through a masonary paint quite easily, but not liquid water. In fact, masonary paints are chosen according to the plastic binder resin's permeability to H2O molecules. Anyone making a masonary paint will be wanting to use a binder resin that allows individual H2O molecule to pass through it with ease, but which won't allow any liquid water to pass through it. ALL latex paints will do this to some degree, but masonary paint will do it the best.
The result is that a masonary paint acts much like a check valve in that it will allow moisture that does get into the masonary wall to evaporate out through the paint, but that same paint won't allow rain or snow melt water to get into the masonary. So, if the person that painted that foundation knew what they were doing, they would have used a masonary paint, and you won't do any harm by painting over a masonary paint with another masonary paint. But, if what you have now isn't a masonary paint, then painting over it with a masonary paint won't do any good. (It won't do any harm, but it won't do any good since the existing paint is going to limit the amount of evaporation that can take place through the combined paint films.)
Don't use the same paint for both porch and foundation. On the porch you want as hard and strong a paint you can get, and on the foundation you want a paint that will allow individual H2O molecules to pass through it easily. You're not likely to find one paint that will do both those jobs well.
Also, you're not likely to find an EXTERIOR Porch & Floor Enamel. Just use a Porch & Floor Enamel intended for interior floors. That's cuz the only difference between interior and exterior latex paints is the additives like UV blockers and fungicides added to exterior latex paints. But, the area you're dealing with is small, so it's not a big deal if you have to spray down the porch with a 10% bleach solution to kill any mold growing on it, or repaint in a few years because it's deteriorating from UV exposure.