Investors & landlords

What if I bundle a project that I spent a lot of money on into a capital asset, my example being a retaining wall & garden installment, and utilize a depreciation cycle? That way I would at least get some return the following years.