Yes, just treat the lease of the vehicle and the purchase of the vehicle as two separate events.
Claim vehicle expenses as a lease during the term of the lease, claim expenses as an owned vehicle after the purchase.
See: Buy or Lease Your New Business Vehicle?
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"