Yes.
There are two types of Sanskrit literature and they are based on grammar. One is before the Panini's Grammar which called Vedic Sanskrit literature includes Vedas and Puranas and the second is Classical Sanskrit literature.
So Vedas are written in Vedic Sanskrit language.