Yes, exactly. It is often required as a condition of employment and (pre-COVID) in the hospital I am aware of, if you would/could not get the flu shot then you were required to wear a surgical mask at all times during that year.
"By occupation, flu vaccination coverage was highest among physicians (98.0%), nurses (92.0%), pharmacists (90.6%), and nurse practitioners and physician assistants (88.8%)
Flu vaccination coverage was lowest among other clinical health care personnel (81.7%), assistants and aides (72.4%), and nonclinical health care personnel (76.7%)."
"By occupation, flu vaccination coverage was highest among physicians (98.0%), nurses (92.0%), pharmacists (90.6%), and nurse practitioners and physician assistants (88.8%) Flu vaccination coverage was lowest among other clinical health care personnel (81.7%), assistants and aides (72.4%), and nonclinical health care personnel (76.7%)."