Yes — and the proof is that you do not fall straight through the floor.
Under the surface, a physics engine is constantly calculating gravity, collisions, momentum and friction for every object in the scene. Games that look realistic simply put more of those calculations to visible use, while a platformer might keep only the bare minimum needed to make jumping feel right.