Sure! I use CSP and animate at 12fps. Export the animation as frames (0001.png, 0002.png, etc).
Generate a palette
"ffmpeg -framerate 12 -i frames/%04d.png -vf palettegen palette.png"
Use the palette
"ffmpeg -framerate 12 -i frames/%04d.png -i palette.png -lavfi paletteuse output.gif"