Hello!
With increased epinephrine (adrenaline) levels, there is often pupillary dilation; for example, our pupils dilate in the exact same manner when we are frightened as they do when we are attracted to someone.
Thus, it wouldn’t be a valid means of discerning one’s specific emotional state (I.e., whether positive or negative).