Sure it is. Just make sure you add your data.csv to your project and when all run, download the report.txt from the online project (it gets added automatically to your project when the report is created).
I've created a small example to help you start on your journey: https://onlinegdb.com/mVz25nX9o
I've found out that if your input file is a .csv file, the compiler tries to interpret the file and it causes you a build error as OnlineGDB tries to compile every file included in the project. However, it's smart enough to not try to include .txt file, so if you use a .txt extension instead of a .csv, you should be good.
See the "data.txt" command line argument in my example project. Note, that the example project has a few configuration options. Check the function Configure() for more details.
Good luck!