My old neighbour took his railings down and put the baskets in, just suiting on the earth, been there for years , no problems.
As long as the slabs are level they will take the weight, if they are not level they will just split