Can I say:
You will create (name some project) and learn (name some skill) by the way.
You will create (name some project) and learn (name some skill) along the way.
?
Are both sentences correct? I want to say that someone will learn something accidentally while creating some project.