It depends on the platform and its terms of service. Some platforms allow commercial usage, while others require you to purchase a license.