Absolutely - There are some great tools out there too for showcasing the work done in online courses. Accredible (my startup) lets you build portfolio credentials designed for showcasing knowledge from online courses. There's also Pathbrite, GitHub, Dribble, etc. for less online-learning focused portfolios.