Anchors are perfectly fine for jumping to a specific point on a page. Nearly all documentation websites do it, wikipedia does it, etc...
It's literally in the texts from back in 1995: https://www.w3.org/MarkUp/1995-archive/Elements/A.html
"This allows for the form HREF="#identifier" to refer to another anchor in the same document."
As Linus Torvalds says with Linux: don't break userspace. If userspace has made something work, don't break that.