Keep in mind, if you upgrade from 7 speed to 8 speed.
Then, 8, 9, and 10 speed all use approximately the same cassette width.
It is possible to friction shift up to 11 speed rearends, and probably 12 speed, although it may depend on the actual equipment used.