How much is a replacement tape switch assembly? If modifying the switch or cable is something you're considering, it might be worth your while to cut one open. There may be two wires depending on the design. It's also possible that they have power, ground, maybe a shield, and signal wire(s). The wires should be colored so a cut-to-length scenario should be "relatively easy". I say that with caution because the careful person will still have an unsightly bulge at some point in the cable, and would need to be comfortable with small wires, a good soldering iron, small tips, and shrink wrap. If the wires are not colored, a meter, patience, and familiarity with the flashlight functions would identify the wires.
About the switch portion itself, the complexity depends upon where the flashlight's functionality chip is. If it's in the tail-cap, I'd expect a circuit board with a chip and switch in the tape switch. However, if it's on the LED board or in the body, the tape switch might be just a switch mounted on something for rigidity and ease of mounting. With some planning and soldering prowess, both scenarios can be modified.