Shade2u2
The others have it right. Yes you can use Tyvek with a vapor barrier, in fact it's part of the same system. Think of a wall this way: drywall, vapor barrier, insulation, sheating, housewrap, foam, siding.
The purpose of the vapor barrier is to keep inside moisture from getting into the wall. The purpose of the house wrap is to keep Outside moisture from getting into the wall and allow any moisture that DOES get into the wall to breathe through the housewrap and get away from the sheating. The foam keeps that moisture from freezing in the winter so that it doesn't freeze on the sheating and wait till spring to all thaw at once. Ideally, any moisture that does get into the wall will move through the insulation, sheating and housewrap and run harmlessly down the inside of the foam. A good vapor barrier keeps this to a minimum. The paper backing n insulation is not considered a good vapor barrier. Just don't over do it, I've seen a very few homes that have been way too plastic lined and the homeowners have had moisture problems. If you use a vapor barrier, a ventless LP heater may be a bad idea for instance because they emit a heck of a lot of vapor that has to go somewhere.
I used Pink wrap rather than the Tyvek. Pink wrap is a woven product, which makes it easy to imagine moisture passing through the tiny cracks. Maybe somebody that has experience with Tyvek can answer this, but I don't believe it is woven the same way as pink wrap.
SHF