Sorry but no. The top of the soil will still be a breeding ground for the gnats as they like moisture. Mosquito Bits (contain BTI (Bacillus thuringiensis subspecies israelensis)) can be used but take a few months to be effective. Alternative mulches: sand, straw, or my favorite arborist wood chips!