This is possible in RFEM in an indirect way.
The soil pressure from which the bending moment is determined for the design by means of integration can be applied as an "external load" in the RFEM initial model.
Distribution of Compressive Stress in RF‑/FOUNDATION Pro
This compressive stress can be applied as a "Free Surface Load" to an equivalent structural system in RFEM.
In this case, the equivalent structural system is a rigid surface. The size of the surface depends on the position of the design section set in RF‑/FOUNDATION Pro. In this case, it is necessary to set "In Column Center".
With this equivalent structure, it is possible to recalculate the "moment from the distribution of compression stress" determined in RF‑/FOUNDATION Pro.
You can download the example described above using the link below, and open it in RFEM 5.