The short answer is no. Google really doesn’t care which CMS or tech stack you use to build a build. At the end of the day, they care far more about how easy it is to understand your website and the user experience.
Instead of worrying about whether you pick WordPress or Drupal, focus on speed optimization, engaging content, and being helpful to your target audience.