Hey, this is an excellent idea! We don’t have such a mechanism yet, but we would be open to reviewing a pull request or adding it in the future.
I did a quick search and couldn’t find this request yet, would you mind opening an issue and adding as much detail as you can about your intended use case and desired behavior?
https://github.com/PrefectHQ/prefect/issues