Yes, from the mpv(1) man page:
Q Like q, but store the current playback position. Playing the same file later
will resume at the old playback position if possible.
Just quit with Q instead of q.