Yes, the pit (or "yard") of the Globe Theatre had a dirt floor. This was standard in Elizabethan public playhouses.
The pit accommodated "groundlings" who paid a penny to stand. It also served as performance space for scenes requiring large movement (battles, processions). The dirt floor wasn't a flaw—it was a feature: acoustic engineering, drainage, and democratic accessibility in one.