Only after a genuine tie
Randomness belongs at the end of a decision, not the start. Do the thinking, cut the options that fail on cost, risk or capacity, and if two survive that you would honestly accept, flip option A or B and get back to the work. Random allocation is wrong wherever fairness means accounting for workload, personal circumstances or anything with employment consequences, so keep it away from who takes the difficult client, who works the weekend, and anything touching pay, review or promotion. Those need a person who can explain the reasoning.
