Our story is similar to Anna's.
We started bedtime ritual from early days, we also ended up doing naptime rituals which was just a shorter version of the nighttime one.
At about 7 months when Ash was taking 3 good meals of solids I found she started doing her own pretictable routine of eating/ sleeping bout the same time every day, before that I just followed her lead.