Running a cable inside the frame is not an issue. Unless there is a chance the cable might interfere with your crank/pedals or front derailleur or the wheel I don't see a problem. As an additional precaution, don't use quick release, use a bolt. Even a security bolt.
Adam