The short answer to this question is YES! However, certain factors will impact the final output, as there is a lot of sunlight scattering in the atmosphere. Moreover, you will not be able to get the best view of the stars, and the sunlight will dominate their luminescence.