As has already been pointed out your workflow is a bit unclear.
But in general if you want to create or edit existing OSM data and don’t want to do that programmatically, you use an “editor” Editors - OpenStreetMap Wiki. At least JOSM and Vespucci can read both PBF and XML format OSM data and write to XML format files.