Don't have a link to photos but, yes, it's been done.
The problem is you must install the cables so there are no sharp bends or kinks, especially in the clutch and throttle cables. They need long sweeping curves to reduce any cable bind. Routing them through the frame or bars usually require them to be bent too sharply to give good, friction free movement.
Tom