I'm not sure why you wrapped it around the backing rail unless you have a frame that loads "over the top" instead of "in the well" like most.
Anyway, to answer your question, Yes, you can quilt that way but be careful of the pins.
When you turn a quilt to do the side borders, you would do it like you described.