Not sure if it helps but with Falko's tools (https://falkooxc2.pythonanywhere.com/) you can combine your files into one big image. Then apply your palette and split it afterwards back into single images.