I have used lengths of untreated softwood timber (9" x 2") to make a small decked area and a step up to said area.
All timber is sat on concrete blocks (not soil or grass) and is raised around 10" off the ground.
Given that it rains a lot in this country, I have concerns over the wood rotting...