Yes, as long as it is a card that supports UnionPay, it can be spent in Hong Kong dollars, and the repayment will be automatically settled in RMB. As long as you don't use VISA or MASTER card (the international card fee will be higher, and UnionPay has no fee at all).
I hope I can help you.