Is it okay to take hydrocodone for strep throat?

Yes,but. Most would consider it overkill. Most would consider a therapeutic dose of Ibuprofen (600 mg max for adult) as adequate for discomfort. Proper confirmation through testing and antibiotics would be the mainstay of treatment.