To answer your question as asked - yes. In it's simplest form, sus pedal on/off consists of two discreet events, cc64 127 & cc64 0, so to switch the pedal off then on again you need to insert these two cc64 values, 0, 127, one after the other. [Many instruments use only 0 & 127 as a binary switch, others can use all values in between - this is often more useful for such as piano, where partial pedalling has a real use-case.]
Practically, as already mentioned, this isn't a great way to do it.
If you were playing this in as a keyboard player trying to achieve smooth transitions, then you would naturally just add the pedal just before a chord change then lift shortly after it. A keyboard player would just 'feel' this transition & be able to modify their playing so the timings came out smoothest.
Conversely, you could just extend the notes to slightly overlap [legato] & not rely on pedal at all.
To really do this 'properly' on a string arrangement you really don't want to be playing block chords. It just never sounds like an orchestra, it sounds like a keyboard player with a 'string machine'.
To achieve realism you need to play each line individually, as each player would play it, with appropriate performance parameters.
This is not 'beginner' territory.