No, when you cancel a line input event the buffer will be filled, so you could append to it, and then resume the line input. But it would be a lot of work, basically from scratch.
A Colder Light was similar. I can’t remember what technology it used, and I’m not sure if it’s still online anywhere. But a Glulx version is in the archive.