Mostly yes, with the exception of sprint shifters. They are "dumb" as in they are simply a momentary switch that closes a circuit. You can plug them in anywhere, but they will only work on the sprint port of some shifters. Climbing shifters will be fine though!
Does anyone know if di2 climbing switches can be plugged into a 5 port junction box?