If you have an air pump which is separate from the main filtration system of your aquarium then it should not cause any problem if you turn it off during the night.