An app will use the API, not the Discourse code per se, so i guess you’re good to go.
Besides that, there is that.