3/4 would be fine for stringers, it just gives you a narrow area to hit with the screws. Hard enough to hit a 2x that's really only 1 1/2".
The foam you have is someone saying "screw it, good enough". Usually, the floor goes in, then a few holes are cut along each cavity and expansion foam...