I usually do that, use functions as my building blocks.
I did discover you can self import, but this becomes wonky.
# name this cell hello
print("hi")
from notebook.py import hello
hello()
curious, is there a reason why you would use a cell instead of function