Yes there is a way you can make it.
1st Make action for conversion
Open a single file
Go to window > actions
Create new action
A pop with name new action > mention name as conversion (if u want to set the function key u can select any key here we set f2)
Click on Record
After clicking Record button the action start so be careful what step you perform will record so take in mind what step you follow
Ctrl+A > Go to file > Save As > and change the format to svg (do not change the file name) click on save and another pop with svg Profile just click ok
After you finish the step go to action panel and click stop
Open all the ai files you want to convert
Go to action panel and there is a small arrow beside click on that and a drop down > click on batch
A pop-up > in action section select conversion
Source > select the folder > Choose the folder
In destination > select the folder > Choose the folder
and click ok
As soon as you click ok the process start and your file is converted.
Note : Next time you do not have to follow this steps, just open all the ai files and click the conversion and the play button.