In order to do this you would need to build the transactions manually, not via createrawtransaction or createrawsendfrom. Any transaction building library which is compatible with bitcoin can easily be used with MultiChain, because the transaction formats (including script codes) are identical. Note however that the multichain protocol adds various rules regarding transaction inputs and outputs that are not in the bitcoin protocol, so you might also have to take a look at the MultiChain source code to see what needs to be changed. The AcceptMultiChainTransaction() function is a good place to start.