Hello @Stephanie Akpakoun , IdPs have to be coded in custom policies however if you want to make many available to others you can define them in one base custom policy so that it can be inherited/shared by others. This is thanks to B2C Inheritance model.
Additionally, you might take a look to ClaimsProviderSelections to know more about the IdP selection process.
Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it so that others in the community with similar questions can more easily find a solution.