Absolutely. The c64 had a bunch of things that was global, but could be changed per scanline, like graphics mode, border color, background color, sprite positions/bitmaps/colors, character offset, etc.
You could actually change them mid scanline too, but it was tricky to get the timing right, so the exact pixel of the change would be a bit random.
You could actually change them mid scanline too, but it was tricky to get the timing right, so the exact pixel of the change would be a bit random.