If is not a combat impediment or a hygiene concern, then leave the troops alone. If it is an appearance concern, that is, it makes the individual soldier look less than well-regulated and a detriment to good order and discipline, then that would be an extreme appearance that would not fit both naturally and neatly beneath any of the military’s head coverings.
Unwashed hair stinks.
Corn rows and dreadlocks are difficult to keep clean in the best of circumstances.