Yes of course, multichain-cli is just a wrapper for the JSON-RPC API exposed by MultiChain. The first line output by multichain-cli after each command shows the API call that was sent. It all works exactly like the Bitcoin Core API, for which many libraries are available, and quite a few of these have already been adapted for MultiChain – see the list at the bottom of this page: http://www.multichain.com/developers/