The communalization of all-polymer solar cells depends on the cost of active layer materials. We have introduced a framework to find the easily synthesizable polymers. Breaking Retrosynthetically Interesting Chemical Substructures (BRICS) method is used to generate a large database of polymers and synthetic accessibility of generated polymers is predicted. The generated database is visualized using various methods. Energy levels of polymers are also predicted using pretrained machine learning models. Polymers are screened on the basis of predicted properties. Library of polymers are displayed using the T-distributed Stochastic Neighbor Embedding (t-SNE) visualization. Structure Activity Landscape Index (SALI) visualization is also used. A significant change is observed in synthetic accessibility score on structural changes. The histagradient boosting regressor is used to predict the energy levels of polymers that energy levels play significant role in the selection of materials for organic photovoltaic cells. Synthetic accessibility of polymers is analyzed and a significant number of polymers are easy to synthesize. Thirty polymers are selected through screening process that are potential candidates for organic photovoltaic cells.