Exactly. The PWA version frees up the URL bar and avoids some inconsistencies when it's auto show/hide. With this tweak, the browser also shows the "Install app" action in the menu.
As @TonyGiorgio stated this is the bare function, then it is possible to add more details like a back button (if needed), a banner to incentive the PWA installation, etc.