Hello Karma Wangchuk , you can check how MNIST was created and maybe use similar technique to create your own dataset. Here a video which talks about history and many other facts about MNIST. Hope it's helpful.
Handwritten Digit Recognition. ... MNIST is a widely used dataset for the hand-written digit classification task. It consists of 70,000 labeled 28x28 pixel grayscale images of hand-written digits.