The cookie banner can impact your SEO but it depends on different factors. The way crawlers handle cookie consent popups depends on their inherent behavior, such as Googlebot’s rendering capabilities, and your website’s configuration, including robots.txt rules and the implementation of the popup itself.
Other factors that can impact your SEO, are whether you have a responsive design, use lightweight scripts, or maintain fast layout loading.