Flatten landscape with 90 degree (non-slope) edged, is it possible?

I would like to have 90 degree edges on some parts of my landscape, so If I place stair like meshes the landscape slope doesn’t get in between. like this