I like your idea. The 350z has a nice engine and a 6 speed. Getting parts could be a proble for awhile. IF you reuse all the engine management stuff from the 350z There shouldn't be any problems. Don't know about fit. Can't help you there.
I can tell you that the maxima, pathfinder and 350z all have different oil pans and intakes. Best I can tell The pathfinder engine would probably bolt up to the 350z trans. It also looks like any VQ block will bolt to the z350 trans but the oil pan being different will miss the oil pan to trans bolts (and starter issues). I should know some more about this tonight
I don't know why everyone worries about drive by wire. Just get the Accelerator assy from a 350z attach the wires and away you go.
The issue rarely mentioned but more of a bite is the KEY. The key has a transponder in it so without the right Key and ignition or some thing the ECU won't run. The ECU can be reprogrammed (by the dealer only) for a new key but some sort of antenna is in or around the ignition switch that would have to be swapped. This started in 1999 in the maxima as well.
The motors are extremely light, the VQ30de-k INCLUDING intake, TB, exhaust manifold and engine wiring harness but without p/s, a/c, alternator or clutch is aprox 180lbs. No kidding. 2 people can lift it quite easily. The 6 speed seems pretty typical weight (have a 350z trans on the floor of my garage right now) don't have a weight for it.
It may be possible to take a maxima engine instead of the 350z. Intakes are different, oil pan is different, Coolant pipe out the rear of the heads comes out the opposite side. Oil filter is located on the front on the maxima, side on the 350, front angled down on the pathy. The VQ engines do not share trans bolt patterns with the VG's. Pathy 5 speeds are rare and 350z's are hard to come by. The engine is probably easier to get. I'm putting in a VQ30DE-K because it was cheap ($250) but could have went with a VQ35DE for a bit more. I got my 350z trans for $500 (trans has 527 miles on it). I think the swap could be done without dumping a ton of money.
Oh, Note that the intake on the 350z and maxima both exit to the REAR of the engine, The 350z does a 180 and comes back to the front. The pathy dups out the side. The pathy starter is on the right, 350z on the left maxima is on the trans. The 350 z trans has bumps that looks like will accomodate either right or left starter.
About all I know right now.