Is "They have achieved whatever they have been dreaming of." a correct sentence, or do we need to say 'they were dreaming of'?
'had been' and 'were' are both correct. (Some might say that only 'had been' is correct, but 'were' is also correct.)
Student or Learner