Is there a way, by which an airline or ATC would be alerted, if both pilots are asleep or incapacitated?
No there isn't. The only indication ATC has is if the pilot doesn't respond to radio calls but that can also be because of other issues like a radio malfunction.

There is not much ATC could do anyway if pilots are non-responsive.