Yes, and having Pierce Brosnan become M, explains where they go, they either retire, get promoted to a desk job, or die. They could even kill Craig’s Bond at the end of his last movie, so M can promote a new one.
Craig is making two more Bond movies and “M” is definitely going to be Ralph Fiennes... He got the nod at the end of Skyfall...