Sure can, there is no problem harvesting when the leaves are green, not all plants will go yellow, unless you stop feeding too early, flush too early/excessively or change to bloom nutrients too early, as all these things cause nitrogen starvation, which causes the yellowing.
Going yellow is not a pre requisite or typical behaviour for cannabis plants and I never have sickly yellow plants at harvest time.
Hope this helps, Organoman.