As above, you can theoretically make anything moddable, but Twine and its formats, and the browsers they run in, are not really made for runtime modification; you'd need to build it all yourself, and you'd need to figure out how to handle browser security in the process.