Based on my knowledge of feeding beardies. I usually alternate greens and bugs each day. eg. greens one day then bugs the next etc.
But my experience with worms was never good. As babies, and young beardies, I always found barely digested worms (wax worms specifically) in their stool. But if the worms work for you I say go for it.