Definitely. A well fitted boot will give you more support than a shoe.
Keep weight in mind though. After 20km a boot will really weigh you down.
I have both for different walking. Anything mountain I’ll choose a boot and anything hills or lower will be shoe/runner