Was Light actually a friend to L?
I would say Yes.
L considered him as a friend because they had a lot of coherence as compared to the other characters even if he had a strong suspicion on Light being KIRA.
Also, to the &quot;What if part&quot; : he was never 100 % sure, but had a strong suspicion on Light.