Will sleep late affect my health although I have enough sleep?

As above. It depends, sleep hygiene is very important for treating insomnia, which means going to bed at certain time and waking up at certain time, and being consistent.