Dietary compounds play an important role in the prevention and treatment of many cancers, although their specific molecular mechanism is not yet known. In the present study, thirty dietary agents were analyzed on nine drug targets through in silico studies. However, nine dietary scaffolds, such as silibinin, flavopiridol, oleandrin, ursolic acid, α-boswellic acid, β-boswellic acid, triterpenoid, guggulsterone, and oleanolic acid potentially bound to the cavity of PI3K-α, PKC-η, H-Ras, and Ras with the highest binding energy. Particularly, the compounds silibinin and flavopiridol have been shown to have broad spectrum anticancer activity. Interestingly, flavopiridol was embedded in the pockets of PI3K-α and PKC-η as bound crystal inhibitors in two different conformations and showed significant interactions with ATP binding pocket residues. However, complex-based pharmacophore modeling achieved two vital pharmacophoric features namely, two H-bond acceptors for PI3K-α, while three are hydrophobic, one cat-donor and one H-bond donor and acceptor for PKC-η, respectively. The database screening with the ChemBridge core library explored potential hits on a valid pharmacophore query. Therefore, to optimize perspective lead compounds from the hits, which were subjected to various constraints such as docking, MM/GBVI, Lipinski rule of five, ADMET and toxicity properties. Henceforth, the top ligands were sorted out and examined for vital interactions with key residues, arguably the top three promising lead compounds for PI3K-α, while seven for PKC-η, exhibiting binding energy from − 11.5 to − 8.5 kcal mol−1. Therefore, these scaffolds could be helpful in the development of novel class of effective anticancer agents.