Not necessarily. It would be harassment if the OP addressed the petitioner directly or indirectly and with indications that the messages be conveyed to the petitioner.
It is reasonable to be concerned when somebody obtains a restraining order through false statements, because then that petitioner will be tempted to make new false statements to cause OP to be punished for no good reason. Furthermore, a law-abiding civilian is entitled to his/her clean record, even if the courts no longer display restraining orders publicly on their IT systems.

