A new class of solutions describing analytical solutions for compact stellar structures has been developed within the tenets of General Relativity. Considering the inherent anisotropy in compact stars, a stable and causal model for realistic anisotropic neutron stars was obtained using the general theory of relativity. Assuming a physically acceptable non-singular form of one metric potential and radial pressure containing the curvature parameter 𝑅, the constant 𝑘, and the radius 𝑟, analytical solutions to Einstein's field equations for anisotropic matter distribution were obtained. Taking the value of 𝑘 as -0.44, it was found that the proposed model obeys all necessary physical conditions, and it is potentially stable and realistic. The model also exhibits a linear equation of state, which can be applied to describe compact stars.