There are 2 issues here, frame integrity and cable routing.
Just about all frames, steel, alu and titanium have holes drilled in them by thebmanufacturers so its certainly possible. Most frames don't fail because of this although of course some do. With appropriate positioning, sizing and drilling of the holes, it should be ok, but you take the risk etc.
Secondly, as the top tube is the only tube to be (normally) sealed at both ends, it would be bugger of a job to thread a cable +/- housing through.
There are 2 issues here, frame integrity and cable routing.
Just about all frames, steel, alu and titanium have holes drilled in them by thebmanufacturers so its certainly possible. Most frames don't fail because of this although of course some do. With appropriate positioning, sizing and drilling of the holes, it should be ok, but you take the risk etc.
Secondly, as the top tube is the only tube to be (normally) sealed at both ends, it would be bugger of a job to thread a cable +/- housing through.