On my bike with a hanger RD there's a screw hole in the hanger, but no hole in the frame. I think the rational is you use a tightened screw in the hanger as a friction lock for the RD's position, much like a b screw. If the frame had a hole, then you couldn't adjust its rotation, its position would be fixed.