There is no pre-defined configuration parameter in CSVParser that controls whether duplicate column names are acceptable.
A look at the source code shows that the initializeHeader method creates a Map which will have column names as keys and column indices as values. If you want to use header mappings, the column names must be unique.
However, there is a solution:
Specify a CSVFormat that ignores the column names defined on the first row of the CSV file, and define your column names manually.
From the CSVFormat documentation:
Defining column names
To define the column names you want to use to access records, write:
CSVFormat.EXCEL.withHeader("Col1", "Col2", "Col3");
Calling withHeader(String...) let's you use the given names to address values in a CSVRecord, and assumes that your CSV source does not contain a first record that also defines column names. If it does, then you are overriding this metadata with your names and you should skip the first record by calling withSkipHeaderRecord(boolean) with true.