Yes.. definitely affects on health.
Moreover what ever you study at night will not deep seated in mind and heart.
Rather than this you are doing 2 wrong things
Night awakening and day sleep..Actually both are a direct cause for metabolic disorder to brain heart
kidney like vital organ related problem.
Health Tips
Better to quit this and sleep early and wake up at early morning like 3 am / 4am ..this time is ideal time for gaining knowledge and wisdom which is including positive affects on all dimensions of life body senses mind soul.