I've done it. I wouldn't do it again.
Yes it can be done. I have it done on my 96 accord. However, I have been thoroughly annoyed by the fact that since the h22 head is wider than the f22 block the outside of the oil return holes on the front and back of the block don't line up. If you want to see this exactly, go buy an f22 and h22 head gaskets and line them up. Besides the fact that you have to put about an 1 1/2" of JB Weld in the outer return holes near the timing belt to make it work at all without dumping oil down your block.
With an f22 head gasket, the engine leaks about a quart every two months. Not too much but annoying. Here is what else I had to change:
--I had to buy an h22 main crank timing belt sprocket ($50) and water pump and take the pulley off of the new water pump and press it on the old f22 pump (h22 sprocket on f22 pump)
--added length to the Intake Air Temp wire (about 12") because it is in another location on the h22 intake
--used the f22 Throttle body (I am turbocharged)
--bought the h22 timing belt
--had to jimmy-rig my power steering holder with only 2 bolts instead of 3
--And I still have a P1382 code because the h22 dizzy has a bad mag. sensor in it. To replace the sensor, I have to buy a new dizzy.
After all of this, it still leaks oil. So. My advice. Unless you want to be in a shop for a year and a half messing with this pain in the A**, don't do it.
I would just dump the entire motor if I hadn't just bored it out and put in toga rods and arias low compression (8.0/1) pistons. If anyone has a nice f22 head they want to trade for a h22 head with ferrara racing stanless steel valves, PM me.