Commit sales order and process invoice through data importer

Is there a way to commit sales orders and then create invoices for them by inserting into staging tables/executing stored procedures?