Five months is a great time to travel, as they are not yet mobile and usually only eat one thing (formula or breast milk, or both). The hard part about very long journeys like that is boredom, and that's not very difficult to combat with a baby who is accustomed to being entertained in a seat or in a parent's arms. It becomes much more difficult once they can walk, so I'd recommend traveling now while it's still easy.