The bottom rubber sole can be replaced if there is no or very little damage to the cork footbed. If the footbed is worn into, then a full recrafting is required.
In a normal stride the heel strikes the ground first. As a result the heel area will typically wear out first. if the rest of the sole is still in relatively good shape, the heel portion can be cut out and replaced with new, matching Birkenstock material.