Yes, this code give you the basics:
<div class="custom-container">
<div class="grid-container">
<!-- your HTML in here -->
</div>
</div>
The outer DIV custom-container
can be full width. You can give it whatever class you want for stlying.
The inner div grid-container
class is what GP uses to set the container width set in the customizer.
You can see the various hooks here, and which ones are full width.
https://docs.generatepress.com/article/hooks-visual-guide/