If you generate any cave type biome, the world will generate below y=0. However, no deepslate seems to generate.
MC-239743 Cave world generation doesn't extend below y=0
MC-220309 Deepslate Doesn't generate in caves and floating islands world type
MC-220879 Floating islands bug