I could imagine that you could loop over and over, but direct the outputs of each layer to two destinations: a) to continue through the layers, looping, and b) a separate CoT text output layer to make those CoT concrete. In fact, the model itself would not need to be aware or have access to those CoT traces at all. I am not an AI guy, so I don't know for sure, but that seems reasonably possible.