Can an athlete get all their nutritional requirements from food?

Yes, this is certainly possible. An athlete is more likely to achieve this by eating a diet that is balanced (and does not cut out food groups) and by being organised. Relying on convenience foods or skipping meals and snacks will make it more difficult to meet nutritional requirements.