Of course you can take the credit if you finance it ... you bought it and it is yours. The fact there is a lien on it is immaterial. Can you imagine how few people could take the credit if there was a cash purchase stipulation ?
No matter where/how you finance the auto loan it is still just a lien on the car title like a mortgage on your home. You OWN the property you just couldn't pay it all in cash up front, someone else needed to loan you the money.
If this was a restriction the IRS reg would say so ... like it says leased vehicles are not allowed since you are not the registered owner of the car.