Can a 17 year get married in Texas without parental consent if they are enrolled in school?

No. The only way to get married without parental consent is by being emancipated and going to school does not do that.