Conventional polymer modification of cementitious materials to enhance flexural strength often yields marginal improvements and compromises compressive strength, primarily due to the poor dispersion and compatibility of high-viscosity polymers. To overcome these limitations, this study introduces an innovative strategy based on the in-situ polymerization of acrylamide (AM) monomer at ambient temperature. This work systematically optimizes the premixing time, a critical parameter governing the balance between uniform monomer dispersion and polymerization kinetics. Response Surface Methodology (RSM) was employed to identify the optimal synthesis conditions: an initiator/monomer mass ratio of 2.49%, an accelerator/monomer ratio of 3.02%, and a premixing time of 7 minutes. At a fixed AM content of 3 wt.%, the optimized formulation produced a cement paste exhibiting a 28-day flexural strength of 12.2 MPa—a 61% increase over the control paste—while maintaining comparable compressive strength. Microstructural analysis revealed that the in-situ-formed polyacrylamide (PAM) network refines the pore architecture by increasing the proportion of harmless pores (<20 nm), despite a slight increase in total porosity. Concurrently, chemical interactions between hydrolyzed carboxyl groups from PAM and metal ions within the hydration products strengthen the organic-inorganic interface. This synergy between pore refinement and enhanced interfacial bonding constitutes the fundamental mechanism underpinning the superior flexural performance.