Edit: Or att least, as a race in itself.
This answer by /u/Nevada_Lawyer somewhat touches on the problematic history of legal classification of Hispanics before the civil rights era:
Follow up - was there any differences in treatment of the US between white Hispanics of primarily Spanish origin and mestizos? Especially in the territory conquered after the mexican war.