It's an interesting idea, but it would really be quite a lot of work, because the multichaind daemon and the multichain-cli command-line wrapper are separate products. Perhaps you can instead build some kind of thin wrapper for multichain-cli that would serve the same purpose?