Is it possible to link PRs to issues automatically using GitHubs infra

There was a discussion about a week ago in Core Development about this: Finding issues without a pull request to work on

And from that discussion, there is a GitHub issue open to discuss it as well.