Is it viable to run a mixture of OCaml and Erlang with MirageOS

Hello! I have recently tried to learn Erlang and to develop a simple thing out of an Erlang supervisor written by getting help of OTP of course that is able communicating with an OCaml module or object via BERT or as Erlang apparently use C in its VM code, by C ABI perhaps, and i want it to be ready to deploy to for example AWS as a MirageOS image or library, whatsoever. I don’t have any idea where or how to start or even is it possible. Any help would be highly appreciated.