It is not a must to buy product before doing affiliate marketing. You could setup a website and advertise products as a third party. Once an order is placed you contact the seller, make payments and move the goods down to the buyer. Of course you must have taken your profit from it. It looks simple on paper but it is very tedious and requires aggressive marketing.