Looks like you can schedule HealthKit exports with this app https://apps.apple.com/us/app/health-auto-export-json-csv/id...
It let's you schedule exports of some of your data to multiple sources. I use it to sync to Google Sheets, where I can easily build diagrams and data from it.