Yes.
Mastercard can be used to make purchases in Vietnam because Mastercard is a globally accepted credit card brand and can also be used at POS machines in Vietnam. Although Vietnam's UnionPay network is underdeveloped, Mastercard is highly accepted in Vietnam and can be used at most merchants and ATMs.