You can also get clamp on cable guides that fit just above the bottom bracket.
No need for the cable housing. You will need a cable stop near the rear derailleur, and probably on top of the chainstay.
https://www.ebay.com/itm/255463602766
Several brands should have made them.