no, there will always be some rub at the extremes. also it is bad to run the chain at extremes (ie big cog at front to biggest on back and vice versa) because it puts pressureo n your chain and it sharpens the edge of the chain and the teeth of cogs on the rear casette, wrecking them. try to stay away from extremes, when you hear that rub, time to change up or down on the front. of course, i religously live by this rule... not! LOL
keep your chain in good working order. check for stretch regularly etc. my friend runs two chains, swaps them over every week to delay the wear and tear on the cassette. chain costs a tenner each, and this means his cassette lasts double the length of time, and obviously the cassette is a lot more.