Yes that’s right. I use to put my shopping list in a separate note, but now i find it easier to use a notebook with todos inside.
It means i don’t need to scroll up and down because the things i haven’t bought stay on top.
Also the nice thing is that, since i sort the notes by last modified, when i prepare my shopping list the things i often buy are towards the top and i can quickly put them back in the list (by unticking them). It’s probably a matter of preference but I find it easier to manage that way.