You would need a program to do that because the csv format has the position *before* the move by the opponent.
I found this though:
Available for download are the PGN files from Lichess puzzles
cshancock.netlify.app/post/2021-06-23-lichess-puzzles-by-eco/After downloading and expanding the zip files, one ends up with
495 PGN files in 5 folders, organized by ECO code.