No, the homepage must be crawlable and indexable in order for Google to pick up the correct site name. Make sure Google can crawl and index the homepage. You can test the page in the Robots.txt Tester and the URL Inspection Tool in Google Search Console to make sure the page is not being blocked or noindexed.