No, Google does not offer a desktop version of either Docs or Sheets that would run outside of a browser.
I suppose there might be some third-party applications that could do that, but seeking them here amounts to an app recommendation request, which are off-topic. For that, try Software Recommendations.
Google used to offer Google Docs Editors desktop apps through the Chrome Apps but they were retired. At this time it's possible to do some tasks by enabling offline access (available only on Chrome) like editing files but it's not possible to some features like Google Apps Script as it run on Google's servers. For further details see Work on Google Docs, Sheets, & Slides offline.
You can use Clasp: clasp allows you to develop your Apps Script projects locally. That means you can check-in your code into source control, collaborate with other developers, and use your favorite tools to develop Apps.