The main aim of our study is to explore some relativistic configurations of compact object solution in the background of
f
R
gravity, by adopting the Krori-Barua spacetime. In this regard, we establish the field equations for spherically symmetric spacetime along with charged anisotropic matter source by assuming the specific form of the metric potentials, i.e.,
ν
r
=
B
r
2
+
C
and
λ
r
=
A
r
2
. Further, to calculate the constant values, we consider the Bardeen model as an exterior spacetime at the surface boundary. To ensure the viability of the
f
R
gravity model, the physical characteristics including energy density, pressure components, energy bonds, equilibrium condition, Herrera cracking concept, mass-radius relation, and adiabatic index are analyzed in detail. It is observed that all the outcomes by graphical exploration and tabular figures show that the Bardeen black hole model describes the physically realistic stellar structures.