Had the same idea for a while; never got around to actually do it.
I don't think the latch interposers are designed to be magnetic; the soviets swapped in magnetic ones so that their bug would work:
http://www.cryptomuseum.com/covert/bugs/selectric/Some kind of switch to detect interposer motion is probably needed.
Also, the interposers only move when the typeball moves; that means you will need extra stuff to detect tab, space, enter, shift, and backspace keys.