Cochlear implants actually exist in the real world - they're just expensive. They cost USD 45000 to 105000, generally, including the surgery. I assume Will Magnus' more sophisticated device is even more expensive. The Pied Piper's parents were wealthy, but most people couldn't afford something like that.