NO, unless you did a lot of custom work, but thats like playing Honda engineer. You can only switch between the same series engines. F to F H to H B to B
I don't think anyone has done a SOHC to DOHC conversion. I have heard of non-vtec to Vtec but not SOHC/DOHC. The only F that has dohc is the S2k but that probably wouldn't bolt up. And even if it did good luck finding one.
Also I don't think you will get 50hp no matter what you do.