Automatic Scheduling - Maybe in a Script?

Something like “if task A is higher priority than task B, assign task A on Monday at 3 and task B Monday at 5”

Or, conversely, there are more common uses for scheduling employees.
I’m thinking about writing a script for this, just curious to see if anyone else would find it useful.

In general, if you can describe the logic for determining the scheduling, it can be implemented in Fibery (using automation, without scripting, I imagine)