Yes. While asciinema doesn't provide this natively, there are tools out there that can facilitate that for you.
You can create your local recording like so:
asciinema rec my_recording.json
And then feed that into a tool like asciicast2gif:
./asciicast2gif my_recording.json my_recording.gif