Cant we have a bezier curve and align some vertices to that curve?

Cant we have a bezier curve and align some vertices to that curve?