Yes, the Church does say that anyone who is able to confess before receiving the Anointing of the Sick is to confess before receiving it.
1964 Roman Ritual:
According to the general practice of the Church, this above all must be observed–if there is time and the condition of the sick person permits, the sacraments of penance and holy Eucharist are to be administered to him before he is anointed.
In addition to the separate rites for anointing of the sick and for viaticum, a continuous rite shall be prepared according to which the sick man is anointed after he has made his confession and before he receives viaticum.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.