No Liz, the 5 portions of fruit and veg is simply good (AND OPTIONAL)nutritional/health advice. Doing it (if you want to) gives the body much of its daily needs and helps sustain your immune system (if you prefer being healthy to being more likely to be ill.)
The choice is yours.
Ivor