The answer is the same: you cannot migrate or backfill data into prometheus. It's a feature being considered for the future:
You can back-fill into VictoriaMetrics which has a prometheus-compatible API, and can also act as a remote-write endpoint for prometheus. Hence you can use prometheus for the short-term buffering and alerting, and VM for the long-term storage and querying.
Other options like Thanos or Cortex might support back-fill, but I haven't used these.