It's not easy, because even after successfully building the platform, most people will not trust you. it will take some time to invite affiliate marketers with high volume of traffic and once you can pay them, they can attract more affiliates for you. you must also find influential bloggers to review your site because most affiliates will conduct research before promoting your products.
You can find many software that allow running affiliate programs on your website.