They should be alright. My chickens and turkeys have found and ate foam quite a bit and they all turned out okay. If you’re able to, relocate or remove the foam. Even though it doesn’t hurt them, they shouldn’t eat it lol. Hope your birds are doing well!