If you are self employed, and your place of business is your home, the answer is yes.
However, if you get a W-2 you will not be able to deduct mileage at all.