Yes, but you must explicitly indicate in the application that you will export HK data to an external server. If you do not, Apple will reject your application.
I would also suggest reading the Protect user privacy section of the HK documentation.
source share