Without a complete redesign to cope with a moving datum and a radar rolling and pitching with no data correction for guidance - the S400 would merely be deck cargo.
Then there is the issue that it designed to rearmed from trucks with special loaders - which won’t be present. It will also immediately start to degrade from the salt laden atmosphere, for which it is not designed.
Finally, of course, everything on a ship, including the bomb and missiles warheads , are designed to burn harmlessly in a shipboard fire rather than explode - and I doubt the relevant design work and tests were done for the S-400. So any sensible Captain wouldn’t allow them in his ship.