When a franchise gets as massive as Star Wars has, there are inevitably going to be actors who end up playing more than one role. The same has proven to be true with the Marvel Cinematic Universe, the DCU and essentially any other major blockbuster franchise out there.
The Star Wars galaxy is a big place, and it often requires actors to double up on the characters that they are playing.