First, has anyone directed Dave Bryant to this thread?
Second, there were a series of things a bit like electric guitars in the 70s and 80s, including one I think called the "synthaxe" that did exactly that - the contact of the string and fret made a circuit.