Nope, 24 is not the best for anything at all.

18 light 6 dark for veg.

With the dark cycle your plants will grow so much faster than if there was no dark cycle. Inside your trying to replicate the outdoors, and they need their dark...