I don’t believe there is currently a pure Prefect way to do it that is implemented yet. Here’s an issue someone raised which seems similar
https://github.com/PrefectHQ/prefect/issues/1315 and there are some solutions provided on how you might accomplish task concurrency limiting.
Perhaps
@Chris White has more information on this feature