It’s no problem to deposit it in, but there is no interest when depositing money into a credit card, and there is a handling fee when you withdraw it, unless you swipe the card.
5,000 yuan is just your credit limit, which refers to the amount you can overdraft.
If you want to save money, it is better to put it in a debit card