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 face of the wall which could easily exceed the capacity of the wall reinforcement.
On the other hand, if your 'connection' to the wall is via properly designed expansion bearings which will transfer vertical loads only, but leave the wall entirely free to deflect under wave loads, then you might have a viable scheme. But even then you will need to reanalyse the seawall for the effects of the added vertical loadings.