Of course it's legal. They offer you money to exclusively post on their platform. Joe Rogan got paid to exclusively podcast on spotify. All of the talking heads on TV news are paid to exclusively be on their specific channel (ABC,NBC,FOX,etc.) The twitch streamer, Ninja, that got paid to move from twitch to Microsft's failed Mixer platform, etc. etc..