If it’s just a few posts, you can manually re-post them and use the change ownership tool to assign these to the right users.
If you have too much posts for this to be feasible, building a custom tool to do so using the API might be your only option.