I am a home health aide and I work for a w2 company, but I also work for a 1099 company. Can I claim a mileage deduction when I drive from my 1099 Client to my W2 client on the same day?

I am a home health aide and I work for a w2 company, but I also work for a 1099 company. Can I claim a mileage deduction when I drive from my 1099 Client to my W2 client on the same day?