Hi, I don't have a sunroof, but I don't see why you couldn't try using this. I feel as long as you put the foam pads on either side of the sunroof you shouldn't have a problem. In my opinion, I definitely wouldn't put extra weight on it.