There are several rules I go by....

Never confuse investment and hobby purchases....
Luxury purchase with any types of loan - NO!
Use credit card but always pay off in full
Save first and enjoy the rest - they are equally important
Buy the best and buy once

... so NO, I will not and would not have purchased Leica on credit especially if I already had a balance on credit card.
I think OP made a wise choice to sell and pay off the debt first.