Could a UXP script read and write data to a UXP plugin?

You can trigger scripts using UXP plugins, check out this post: Can i run javascript.jsx file using UXP button - #10 by matakus