I mean, certain plugs may be similar and physically will plug in, but they will not be wired correctly.
If you're doing an H22 swap or already have, you'll need the H22 ecu and have to swap some pins around on the factory accord harness to where they match up on the H22 ecu. There are several write ups on how to do this.