I got close but not exact (I'm not the best builder so someone might do a closer version) . The easiest way I found was to raise the ground so that a staircase on a foundation would be level to the sidewalk, then place a foundation over the uneven grass. I forgot to make the stairs set back like in the photo but that it possible. However that lead to a couple complications.
First, you can't build foundations along the lot's edge, which means you have a space of flat surrounding the property on the sides and back, and a couple in the front in front so you can get the stairs in. That's not so bad if you have Pets and haven't disabled wild horses, deer, racoons, etc. (which NRAAS's Register can do) so they don't get stuck inside the foundation.
Second, the fence will have to be at the front or back of the foundation (I'd love to be able to center a fence or wall in a tile).
The main problem is that the Sims always wants to take into account space for a platform/flooring meaning that there's this annoying 1 foot drop that keeps the lawn from being fully flushed. With a good amount of plants, it covers it pretty well but the drop will be there.