Upvote:1
Yes, your visa merely needs to be valid (date of validity, maximum stay and number of entries) for the trip you are planning. The only thing that needs to be valid for more than three months is your passport.
People who travel to the Schengen area for the first time often get visas that only cover the trip they described in their application. The official recommendation from the EU commission is to add a few days to provide some flexibility in case something unexpected happens but not more than that.