Hi @Bonus12
Yes, you can use a formatted CSV to migrate data:
How to use SPMT
https://learn.microsoft.com/en-us/sharepointmigration/how-to-use-the-sharepoint-migration-tool
Bulk upload SPMT migration tasks using JSON or CSV files
----------------------------------------------------
If this is helpful please accept answer.