A player can modify their friends list via our Social Overlay. There is no API that can be used for this in our SDK.
https://dev.epicgames.com/community/learning/knowledge-base/4Vm0q/epic-online-services-how-can-i-modify-a-players-friend-list-from-game-code