Yes. Mending will reduce your experience points whenever it restores an item. Be aware that it can only repair one item at a time.