just feed them a few hours before lights out. they need time and heat to digest their food. anytime within that 10 hour window will be good.
agreed, it's always good to have good 4-5 hours of digestion time atleast, before lights out.
I would recommend feeding most of the feeders in the mornings before school and maybe just a snack of one or two feeders in the last afternoons. What age are your chameleons?