No. If the password hash algorithms are different you cannot migrate the hash with Drupal Core alone without installing a module that changes the algorithm, if such module exists.