aw man, i was about to answer your question.
here you go
> It is stated in multiple Pokédex entries that some Pokémon are known to eat other Pokémon, such as Pidgeot swooping down to catch a Magikarp meal from the water. Humans have also been implied to eat Pokémon, with Team Rocket's plot to sell Slowpoke Tails as a sweet treat in Generation II and Pokémon HeartGold and SoulSilver. Farfetch'd itself is based on a specific manner for preparing a meal of duck, with its rarity in the wild being a result of overhunting. One of the Sinnoh myths also mention eating Pokémon, saying that they will be born again if their bones are picked clean and returned to where the Pokémon was found.
Over time, mentions of Pokémon being eaten by humans have become increasingly rare. This may be due to moral issues; as the animated series and games progressed, Pokémon became seemingly more human-like. This included displaying individual personalities, human mannerisms, and complex emotions. In most cultures and societies, the idea of human beings eating each other is strictly taboo, so much so that even the idea of fictional creatures eating one another would seem equally cannibalistic if they possessed any human qualities. However, rare mentions still occur, such as in Pokémon Sword and Shield, where Barraskewda and Appletun are both stated to be popular foods for humans.
https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_predation