Hey, don't get me wrong. I'm not trying to rain on DV8's parade. Rather, I think its a cool idea, and I'm tyring to help.
The Legend has a 84mm stroke. The RL has a 91mm stroke. So, if the two engines used the same pistons and con rods, then at TDC the RL pistons would be about 2.5mm higher than the Legend. That wouldn't work -- so Honda must have changed the piston and con rod geometry in the RL. And my point is this: if the pistons are different, then the shape of their dome might be enough different to interfere with the Legend heads. The fact that the head gaskets match is not sufficient evidence to deduce that the Legend heads will work without interference. Suggestion: put a wad of clay on a piston, bolt up the Legend heads, and then rotate the engine through 2 crank revolutions by hand. Unbolt the heads, and look for impressions in the clay. That will tell you about clearances. Try same trick on the 3.2 block and compare results.
OK, next point: cam timing. A longer stroke leads to higher piston velocity at given RPM. That higher velocity affects gas flow rates in and out of the combustion chamber. So, the timing of the exhaust and intake valves should be somewhat different to achieve the optimum result. Suggestion: perhaps one of those adjustable cam sprockets is available for the Legend, or maybe something for the NSX can be adapted. Assuming the hybrid engine runs, then some careful experimentation with cam timing my result in significant changes in performance. But, be careful about piston/valve clearances!
Good luck,
Cap