Even if it takes 10 meters to get the job done (in practice, ships will not be coming at the piers perpendicularly to the channel), that is far from rendering the channel impassable.
Secondly, I believe riprap would be preferred to compacted soil (though compacted soil did a pretty good job stopping the Ever Given three years ago.)
Thirdly (and rendering the above moot), what's been done around the replacement Sunshine Skyway bridge in Tampa bay (mentioned in other posts here) shows that protection is, in fact, practical.
In view of these considerations, I'm not even going to check if, for example, xoa considered the energy absorbed by the ship (Update: in fairness, I did take a look at what xoa wrote, and I see that it is you who has introduced the figure of 1000 J/M^3.)
For an introduction to a serious engineering approach to this problem, look here:
https://onlinelibrary.wiley.com/doi/epdf/10.1002/stco.200910...