In some countries where tourism is an important source of income, locals may ask tourists to pay them for their portraits. If this is culturally acceptable and legal in the place you're visiting then yes you should pay them as long as it's a fair price.