Can I install Insulation board in the interior wall with House wrap on the exterior
That foil is probably a vapor barrier, if the foamboard isn't already

Most foamboard is made from what is called closed cell foam; this provides it with adequate rigidity, but also makes it largely impermeable to moisture, atop being an effective air barrier when taped properly at the seams.  Even if your foamboard itself wasn't a vapor barrier, the foil facing on it certainly is!

I would take off the housewrap and put the foam board on the outside instead

Generally, board-type continuous insulations are put on the outside of the studs instead of using a "housewrap" type vapor barrier in order to prevent condensation inside the cavity; this also means they are between the sheathing and the cladding, which helps keep them away from being an interior-space fire hazard.