Create due date for each priority level

I would like to link each priority level created with its specific due date, such that whenever I create a task and append a priority, its respective due date is automatically added into the task’s due date field.
Is this possible? Any help is much appreciated.
Kind regards.