CSV import of dividends and withholding tax

No, PP imports each line as a transaction. You can probably pre-process it in a spreadsheet by running a pivot table and importing that. See Import CSV file.