Hi, V2.
If you 'connect' the top of the seawall to your building with any structure that restrains the lateral deflection of the seawall at its top, you will radically alter the distribution of bending moments in the wall. Quite possibly you will generate vertical tensions in the shoreward...