If a table, data might be duplicated amount rows, and there is not primary key for every row,
can i add an column to be a primary key?
Yes. Add a new column and set it as the primary key with AUTO_INCREMENT. Doing so will create a new column and automatically add a unique id for each row.
AUTO_INCREMENT
ALTER TABLE old_table ADD pk_column INT AUTO_INCREMENT PRIMARY KEY;