No, they each have their special housing. Though years ago both used the same, which is still used for brake cables. Indexed shifting requires special low-compression housing. BMX brake cables will probably work on a road bike, though I'm not sure if the BMX cable might be a bit thicker. If it fits through your housing and operates properly, it should be fine.