Yes, you are able to smile for a passport photo in certain countries, although almost all all countries in the world require you to keep a neutral expression when submitting a picture. The only country with an exception is the United States. If you're an American citizen, you can choose to smile or not.