Exteral badge with latest repo release


Is it possible to automatically retrieve the latest repo release tag and use it in an external website to “show” that tag (as text or image)?

I was looking at something like this:

<a href="https://github.com/user/repo/releases/latest">LATEST TAG retrieved dynamically</a>

Does this possibility exist somehow?

Many thanks in advance for your help