Rebuilding my seawall

I plan on rebuilding my residential seawall in 2025.    As stated, this is for my home and not a business.

 

The cost to replace / rebuild the seawall is significant.  I currently have a wooden seawall and will be putting a vinyl seawall immediately in front of the existing wall.  I am doing this because my wooden wall keeps washing out and I loose my beach to the lake.

 

My question is if this is something that I can write off on my taxes or depreciate?