What is bad with using the wrong cable housing?
spiraled brake housing would compress when shifting which would diminish the accuracy and using lengthwise cables for brakes can't handle the stress and split wherever the tension is too great.
this article explains as much: https://www.pinkbike.com/news/To-The-Point-Shift-Cables-2013.html