GraphQL - Get related entries based on tags field
I might be missing something here but wouldn't passing the current entry's tag IDs rather than the entry ID work for you?

query QueryName {
  entries(
      section: "article",
      limit: 2,
      relatedTo: [123,456] // Current article's tag IDs?
  ) {
      id,
      title
  }
}