There are many companies which provide virtual credit cards and if you have one you can buy the subscription on the OnlyFans.
It needs to be a credit or debit card whether it is physical or virtual it does not matter. Yes, you can use a virtual credit card to pay for the OnlyFans.