Yes. You would need to have an area below the substrate to allow the water to drain off and not cause the soil to be saturated and rot the roots of the plants. Usually hydroballs, or a layer or gravel/stones, or a false bottom made with eggcrate is used. The layers are separated with substrate screen or window screen material to keep the layers from getting mixed together.

Look through some of the build journals for some ideas.