There’s a (very) short story about a device exactly like this: https://www.nature.com/articles/436150a