I can't imagine this being as easy as placing an F23/H22 manual on and H22 or F23 block.
You will need to see how the shifter in the cabin would need attached (no sport shift for Accord-would Acura TL fit?) likely needs an ECU swap or piggy back of some time, and it may require axel swapping/inter changing to some degree.
Is the prelude a 5speed or 4speed model?
It may prove to be much cheaper and better to install an Auto tranny cooler and modified/aftermarket torque converter into your stock 98-02 Accord 4-cyl tranny.
If the car is a 6-cyl I'd look at doing a base TL-Engine tranny swap as it would be a cheaper alternative to prelude tranny or full on type-S swap. Or do the cooler/torque converter mod as well.