first of all:
this is a really great engineering project with which you will learn a lot.
realising this vehicle is a very interesting project for sure
and watching it in action driving over uneven ground keeping the platform flat-level will be very cool.
for your project? very sure NO!
I guess you mean has anyone ever written a program that works with the ADXL335 3-axis acceleration analog output sensor that measures the direction of the gravity vector ?
Has anyone ever written a program that is leveling a platform with DC motors?
To make an analogon:
You are asking this way
I have this set lego-tec parts

has anyone ever build a lego-model of this bike with this set of parts?
As you can easily estimate with the lego-tec parts shown in the picture it is very unlikely to build a model of this crazy bike.
programming is like building things with lego.
There are small parts with all kinds of shapes with which you can build almost anything
up to a real size bugatti veyron by combining different parts

You seem to greatly underestimate the effort for writing this program.
This is not done in 3 hours with 300 lines of code
You should do some calculations first:
what is the maximum rpm of these geared DC-motors with thread
what is the maximum speed how fast you can move the platform up-down with the given
gear-ratio from motor-shaft to the linear motion of the platform
how fast do you want to drive the crawler over ground ?
how big shall the slope be that the crawler shall be climbing up/down with one "driving-leg"
and for keeping the platform flat-level must be able to move the "driving-leg" up/down?
If you are willing to learn and showing you are putting constantly and continiously own effort into this project it will be very intriguing for others to give support to this project.
Finding code for electronic components that is useful
starts with googling with the keywords
"github arduino YOUR_KEYWORD_OF_INTEREST"
In your case
github arduino ADXL335
https://www.google.com/search?q=github+arduino+ADXL335
which will guide you to libraries that makes reading in the signal of the ADXL335 much easier than programming from scratch.
best regards Stefan