Sure there its a way, but i dont know how. Here, in this post, talks about doing that. Receiving Custom Mavlink Msg in HITL