As @Yos N. said, this can be done through the Dashboard API. You can see here the old Product Idea about this topic, that has a “completed” status:
RFE: Allow Dashboards (Custom Charts) be ported between Tenants
If you want to know more about future features planned for the dashboards, you can read about them here:
Planned enhancements for custom dashboards