You example seems like a jazz/pop case, but in "classical" style you can have secondary dominants after their associated tonic chords.
In Gjerdingen's Music in the Galant Style he shows examples of various harmonic models (schemata) and their various combinations. One schema, the romanesca is based on an "opening" type harmonic gesture (I V
). Another schema, the monte, is a type of harmonic sequence that moves up by steps. Both can be combines into what Gjerdingen calls the monte romanesca. One example would be analyzed as I V ii V/ii iii V/iii
...
Notice in the text, Gjerdingen describes the chords as "applied [secondary] dominants of the preceding chords". So, indeed chords can be analyzed, and heard, as having dominant function coming after their target chords.
I think one of the important things to recognize with this kind of progression, with dominant after, not before, a temporary tonic, is the unresolved, or inconclusive, or "opening", or half-cadential, feeling created. You can describe it in words many ways, but it adds harmonic momentum to the music.
I'm not sure if this is what happens with your example, but the general concept is legitimate. Some other analysis of the chord in question could be better, perhaps a passing chord?