You can deform an object that is attatched to a motion path by using a flow path object. It makes a lattice that is linked to the curve and uses it to deform your object around corners.