I am creating a website and I'm wondering if there is a way to display the name of a website in uppercase in Google search results.
Using the sample given in the comments of NASA the way this appears to have been achieved is by using an
og:site_name meta tag and a site name in their structured data for all the pages. The thing to remember here though is that Google ranks NASA as a high value and dependable site which is very unlikely to be playing the system with their markup and as such trusts what they put down. While you can use opengraph meta data and structured markup data whether Google will use this or not depends on how Google's ranking algorithms assess your site.