Thought I’d comment cause you haven’t gotten a correct answer. Diving platforms can be placed while being built for sure. They are under railings in the smithy. You want diving platform (kraken). I believe this can be done anchored in a dock afterwards as well but I just put them on beforehand. I have not been able to attach a cargo rack. Nor have I see a cog with a cargo rack. Just diving platforms and cannons.