Whether the aggregation platform is legally and permitted or not

My friend had wrote a program ,it’s a aggregation platform which may show users some free games of UE. When users click the link or picture, it will jump to UE, then users log in by their own UE account and download .
I wonder that it is the aggregation platform legally and permitted by UE?
waiting for your reply , thanks a lot