You can use an import file formatted like this to import an Opportunity Product to a specific Opportunity.
Opportunity Select Product Price Per UnitExisting ProductQuantity Unit
OpportunityTopicExisting 10 TestProduct1 Primary Unit
Try using a .csv file, then make sure the mapping on 'Select Product' matches up. By default the lookup fields should already be set to match up by the name.