Can I use online check-in if I am travelling with an infant?

Yes. Online check-in is possible for the accompanying adult passenger.

Related questions

Can I book a reward on emirates.com using Miles from a Skysurfers or Emirates Skywards minor account?
How do I link a Skysurfers or a Skywards minor account to my Emirates Skywards account?
What is Skysurfers?