Unlike on airplanes, it is allowed to bring your own beverages and snacks onboard the train. You can also purchase food and drinks during your train travel in Portugal from food trolleys or in the train's restaurant car.