Yes, you can. Mastercard does not restrict its users from using their cards to make online gambling transactions in Nigeria.