Automatically resubmit permalink settings after staging reset/migration

Hello, I just noticed that sometimes, after I reset the staging environment and/or push the changes to production, I have to reset the permalinks. This happened just now on a Woocommerce shop I have hosted with WPMUDev. I was wondering if you could automatically resubmit the permalink settings after resetting the staging environment or after pushing to production. From my point of view, it is a small technical change that could save support lots of time and tickets. I just had a hunch to reset it by myself, but I’m wondering how many people using WordPress think about this solution before contacting support.