Yes you can, but you need to apply different material ID’s to each face in your modeling software beforehand.