Question: why is oogie boogie a gambler?
Answer: There's no need for Oogie to be a gambler, but it add flair/style to his character. Making him a cut-and-dry villain wouldn't work in a setting where everyone in Halloween town looks like a villain. He needs to stand out of the crowd in a way that the audience sees him as a narrative villain.