Yes!
It's quite common for runners to change shoes, socks, shirts, etc. in the middle of a race. If you feel that it would be helpful for you then try it out in training and then implement it in some race.