Does PCl3 react with ester as it does with carboxylic acid to produce an acid halide?
Yes it does. All carboxylic acid derivatives undergo nucleophilic substitution reactions. So esters, acid anyhyrides, amides all on reacting with $\ce{PCl3}$ will give acid chlorides.