If World War One aircraft designers could figure out a way for pilots to fire bullets through the propellers, then making a blaster turret that won’t shoot the solar panels off should be easy.
Propellers are constantly moving, and they aren’t that big. TIE are always in the same place relative to the turret, and are massive blind spots blocking large area for potential fire. Shooting yourself down isn’t as much of a problem (I brought it up for the reference), but a rotating turret doesn’t have much use when such a large portion of the surrounding space is blocked by your own ship.