Is it possible to use JUCE code as an API to an external UI Application?

Hi!

I want to use the application I made with JUCE as an API that can be used another desktop audio program. The other program is written in C++ too. I just don’t want to combine the UI code (my other program) with the JUCE code. Is there a way to do so?

Thank you!