Baking two procedural materials
Here you go:
https://youtu.be/9airvjDaVh4
This will work with procedural materials, and eevee as well. You only need cycles for the baking part.
But basically, you need to put the image texture node you want to bake to - that's also selected - in the other materials.