I have seen the word prophylax used as a verb in We prophylaxed troops against meningitis by giving them vaccinations. Is it proper to use verb?

The word "prophylax" is not a verb. The correct verb form is "prophylactic." The sentence you provided should be written as, "We prophylactically vaccinated the troops against meningitis."

Public Health - Related Articles