The official website for
the world of Catan

Question about Base Game Settlements and Cities - May I build a settlement at a harbor during the set-up phase?

Answer

Yes. This is not contradicted by the rules.