Hi
I am not sure how this can be automated - if the users have something that identifies them as same user such as same name and birth date
A course completion upload can be created for the duplicate user but automating the selection by role is difficult as this isn't an audience rule available.
regards