If you don't advance your film all the way, you can make a panorama as long as you want.
You'll need a camera without a safety agains double exposures for this, that allows not advancing all the way. A Diana Mini or a Holga for instance. It's a simple trick: take a picture, advance not quite all the way, move your composition a bit to the side, take another picture, don't advance all the way, etc. Until you've got everyting in your picture that you want.
No idea how much you should advance? Than take a regular picture first, and listen carefully when you advance. Many cameras will make a kind of clicking noise when you advance. Count the clicks a regular picture takes. When making your panorama, advance a few clicks less. If your camera doesn't make a clicking sound, watch carefully how much you have to turn the advance knob: two turns, or three finger movements, or whatever), and adjust the amount accordingly.
Important tip: if your new roll goes into the camera on the left side, you have to move your panorama from left to right, and vice versa. If you move in the wrong direction, the result is not a panorama, but a mess.
It takes a bit of practice before you find the right combination af advancing and shifting your composition, and maybe your panorama will end up a bit longer than it is in reality, but still, the resukts can be spectacular.