You can do that, just create a bunch of Functions in your C++ code and then Import the C++ code into your BMX program and extern all the needed Functions.
You will also need to add this into your C++ code:
You will also need to add this into your C++ code:
extern "C" { // You Functions Go Here }