The looking at the specification sheet of this excavator for example, the maximum digging depth is more like 1.5m. So you can probably do it by digging a 1.5m deep hole but longer than you want with a gradient up rather than a step, then digging another 1.5m deep afterwards where you want.