Self employed

Yes you can expense or depreciate it in 2022.  Putting it on a credit card is  the same as paying for it.