Yes, it is entirely possible. The engines were made up in advance to the production date of the car. However, I am not familiar enough with the production dates to say this with absolute certainty. You say that you looked up the VIN to find the engine code of LU5? You can contact a Chevrolet dealership and ask for the parts department, they can look it up for you and tell you exactly what the car was produced with. The Chevrolet Z-28 and Pontiac Trans Am had the same engine options.
Both, the LG4 and LU5 were installed in the Chevy and Pontiac. It will be interesting to see what you find out. Both engines were identical except for the intake systems. Of course, the LU5 looked more

impressive .