No. The song actually featured in The Princess Diaries 2: Royal Engagement (2004) is "Supergirl" by Krystal Harris.
Kelly Clarkson's "Breakaway" was recorded for the soundtrack album but not used in the film itself. It later appeared on Clarkson's own album Breakaway (2004) and became a massive hit, peaking at #6 on the Hot 100.
Soundtrack album ≠ film placement. Studios often include "inspired by" tracks on soundtrack albums that never appear in the movie. This is one of the most famous examples.