Can I use relocation expenses toward a deductible if I have been reimbursed by my employer but have taxable expenses?

Hi, I was wondering if I could use my relocation expenses from my work related move as a deductible. I meet all of the requirements such as distance test etc. however, the relocation was paid for by my employer through a relocation assistance program. I had to front a lot of the cost and was reimbursed the full amount at a later date. On my paystubs and W2, it states that more than $2000 of these expenses are taxable. Does this mean that I can use the taxable expenses toward a deductible despite being reimbursed?

Thanks!