Wow, you guys are so knowledgeable...sarcasm there, in case you couldn't tell...
Anyways, no, the F22 motor and transmission will not easily swap into an 87 Accord. You'd be better off finding another Accord or Prelude motor from the era to swap in. You can do the F22, but it will take quite a bit of customizing and will run you a pretty penny if you're not going to do the work yourself...probably not the best route to go if you are just wanting to get your old car running again...