Burying wood next to a house, may cause termite issues.
I can say that 45 degree slopes for soil will be too steep, erosion will occur.
The steepness of soil whereby it will sit there is called he Angle of repose, here are some details;
The angle of repose or the critical angle of repose, of a granular material is the steepest angle relative to the horizontal
plane which a material can be piled without slumping or the surface material sliding.
Angle of repose for soils