Growing numbers of people are swapping mortgages for moorings amid the cost of living crisis.