Task distribution via execution history

Hello,
i have the following use case to test task distribution via the execution history: A task should be assigned to the user who has executed this task most often. 
Is this possible out of the box via the execution history of the process/user or do I have to write my own code and logic using the rest api for this?

Many thanks in advance