Yes, as long as it has been built correctly. A lot of website designers can make a website look nice but not tick all the boxes that Google expects. This is especially true of WordPress sites. Google uses many elements of a website to rank it in search results and not just plug-ins that apparently help with SEO.