Duplicate Comments to a new file using the API

There are several options to export comments from Figma using the export comments plugin or the copydoc plugin.
Specifically, I am wondering if I can use the API to create a plugin that will:

  1. Get the file comments (this is possible if I paste my token and file link)

  2. I will open a new file and open the plugin again. Inside the plugin, I will go to another section, let’s call it the paste section, where I will supply the token (he knows my token from the previous step) and the new file URL and it will paste the comments from the previous file in the new file but with the exact location from the previous file.

Wonder if that’s a possibility, in the API docs under the comment section it doesn’t state that you can GET the ‘FrameOffset’ just POST it, so I wonder if that is possible.