TLS over TLS is OK in theory and, some specially designed protocol has already taken TLS over TLS into reality. TLS algorithm does not care about what you really want to encrypt, or, it sees any data stream equally and handles them in the same way, so it works.