It depends on where the images are. You could probably write a SQL query to add the alt text in the image in the media library using the filename as the alt text.
Or depending on the version of Kentico, you may need to update the code to add the alt text. if your code is clean it may be a matter of just updating the model to add ALTText and passing it in the controller, using the filename if its empty, and then updating the views.
If its on Portal Engine, I would recommend a rebuild to an up to date version of Kentico.