Yep, there's a module that will take your Drupal site and generate a static site. Its called [Tome](https://www.drupal.org/project/tome).
For years I've used curl to do this for sites that no longer need updates. Hosting a static HTML site is much easier to secure as well.
Additionally there are many hybrids of this where you use Drupal as the CMS and a node server will use the Drupal REST API as the data source and generate a static site.