can we program a zigbee as a jammer so that it sends frames continuously without obeying mac layer

No you can’t. You would need a special application on the processor to do that.