You would have to swap the whole head. That is possible because the blocks are the same. You now have an A2 engine which, with the VTEC control wired up, will be slightly faster than the A1.
But only slightly. Many people have tried various ways to soup up a D17 and it just doesn't work. These are good daily driver economy cars but that is it.