It definitely is, but you need to have a quality plan and strategy around what you want to do and what you plan to achieve. First need to fill yourself up with the knowledge, then to do some research and find profitable niches, decide which one of them would work best for you, think about the platforms where you could hos affiliate offers (site, social media...), plan on activities that will attract enough traffic to these platforms, then find relevant affiliate networks that you could join, and so on.