Yes - In 2017, you can deduct 14 cents per mile for every mile that you drove to do work for an eligible charity, as well as the cost of parking and tolls. So if you are doing unpaid work for an eligible charity, you can claim all miles driven related to that charity work as a charitable donation.