By doing so = by cooking by themselves By cooking by themselves they will be able to pass on Japanese food culture to future generations. The other possibility does not make much sense: By having more chances to cook by themselves they will be able to pass on Japanese food culture to future generations.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.