Progressive User Roles

Is it possible to automate user role upgrade based on score and achievements?