Yes - it won't cause a problem for the HDD's
But...
people who do this put tape over the rear case grill holes which surround the external mounting points for the PSU to stop the PSU's fan drawing in air from the back of the case. This makes the PSU draw all its air from the front case vent over the HDD's making up for the now not necessary bottom case fan 😉