I have river rock over some plumbing. My rays like to use it as a ramp, but they prefer to lay on the sand. They will dig for food in the rocks too, I watched my male ray move some rather large rocks last night digging for food.
But yeah, rocks probably aren't the most ideal, but I've seen pictures of it before.