Yes roots will go horizontal. No different as in nature if you plant a bush in your yard that has 18" of soil and then a layer of flatrock, the roots will grow down until they hit rock and then go in the direction of least resistance. Depth is still a critical key in stability though, so if you are going to grow tall you might want more depth.