Yes, the canopies can be swapped with some mounting post changes. The frame widths are the same.
To use a N5c canopy on a N5, careful layout and drilling of new frame holes is required. The aft posts need to move 17mm forward and the front mount needs to be replaced with 610-423 mounts. I have a set of old N5 frames already modified for a N5c canopy I'll gladly give you if interested. I used an N5c frame as a template for drilling. Without this, it would be difficult to locate the front posts correctly.
To use a N5 canopy on a N5c, all the holes needed are already drilled. Just move the rear posts 17mm aft to the other set of frame holes and replace front posts with a 110-420 front mount, which bolts to the 610-312 frame connector block.