There's nothing wrong with trying it, but you might face some obstacles. As mentioned, there might be some light leak along the central edge, but I don't think that would be too bad. You'd also have to mask your full-frame 35mm negative carrier, but that's do-able.
As mentioned there are full-frame 35mm cameras that have a panorama mode, but all the ones I've seen crop the top and bottom, so you don't save any film.
There is a camera called the Image Fusion Split-Cam -- maybe available under other brand names. Using 35mm film, it has TWO masks over the lens (and the viewfinder). It allows you to expose the top half of 35mm film (12x36) and then the bottom half -- by cocking the shutter without the advancing the film (and switching the lens & viewfinder masks). The limitation is that it is a fixed-focus, fixed-aperture, fixed-shutter speed camera, so it's BRIGHT settings only -- but it allows you to take multiple exposure panoramas!!!
There's also the Lomo Super Sampler with FOUR lenses that takes 8x24mm images ACROSS 35mm film.
You can read all about them, and many other 35mm cameras with CRAZY film formats -- how about a 35mm camera with NINE lenses (7.5x11mm) -- at:
https://www.subclub.org/shop/35mmmisc.htm