User Activity

Is it possible for me to integrate and call C code to control various aspects of my hardware (medical device) while I build my touch based user interface through TouchGFX, since the latter is written in C++? And if so, what might be the drawbacks?Tha...