Even with special "fine line" tape, you can only get so close to the edge. Wrapping tape under the lip is a sure way to have an thin line of unpainted perimeter around the trim (the thickness of the tape will leave a line) and makes it more likely you will have adhesion problems from insufficient sanding. You might be happy with the result, but it will look like a repaint every time. I dont recommend it.