Yes. Unless you have to be diagnosed and instructed not to eat, you are free to eat before your gastroenterology appointment.