No, unless they have probable cause to believe they will find evidence relating to a crime in the vehicle. Generally, when a law enforcement officer asks you if they can search you, your car, or your home, it means that they do not have a legal right to do so. If they don't have a legal basis to search, they can still search if you give them permission.