Can I develop an mobile app then use the discourse:// scheme?

You do not need to re-use the discourse scheme. You can create your own. I’ve deployed several apps with unique schemes and they all passed Apple’s reviews at the time.