Is there any way to convert external link into internal link based on URLs?

For example:
I’ve created a document a.md which front-matter has below:

---
URL: https://example.com/abc.html
---

And then I’ve created a document b.md who contains:

[Here](https://example.com/abc.html) has some examples.

I’d like a plugin or something can scan by vault, convert the link in b.md into [[a|Here]] based on the URL property of a.md

I don’t know of a plugin and frankly, I don’t see the point.
What I’d do instead:

Have content of website of URL in a.md in markdown format and link to this file from b.md.
Obsidian is all about linking files in your vault.

Also, information in a.md is searchable for content.