No, we cannot apply online. People have to come at the office to get a SIN card. Now, parents can apply for the social insurance number at birth as they register the birth of their child. It's a new program that is now being implemented in all provinces. That's the only way.
On April 1st, 2014. See this statement in context.