Update URL in address bar (with anchors?) when a CMS collection item is clicked


I have a site with a CMS collection, and hundreds of CMS collection items. Each CMS collection item has a unique URL that is generated when a new item is collected, if someone were to paste that URL into their browser it would open a page on my site where only that single collection item is showcased, which is great.

On my homepage, every CMS collection item is listed.

My question is:

Is there a way for the URL address bar to automatically update with an anchor tag when someone clicks a CMS collection item from the homepage? I would love for a user to be able to land on my homepage, and click CMS collection items as they please, and the address/URL bar automatically shows the corresponding URLs (with anchor tags?) for each collection item as they click.