The official website for The Settlers 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.