Yes you can and we highly recommend it. This way you can achieve:
Improved tracking and analysis of organic search traffic: By linking the two tools, you can see the number of clicks and impressions your website is getting from organic search results in Google Analytics, along with information about which keywords and pages are driving the most traffic.
Better understanding of how users interact with your website: You can see how much time users spend on your website, which pages they visit, and what actions they take, such as filling out a form or making a purchase.
Improved ability to diagnose and fix technical issues: If there are any technical issues with your website, such as crawl errors or broken links, you can use the information provided by Google Search Console to identify and resolve the problem.
Improved ability to track and improve your website’s search engine optimization (SEO): By linking Google Search Console and Google Analytics, you can see how your website is performing in search results and use the information provided by both tools to make improvements to your SEO strategy.