The 45" (750cc) Harley side valves were 23 to 26 BHP stock with comp ratios in the 4s.The little bit I know about side valve engines is in regards to BMW R71 motorcycles. There is a point of diminishing returns when compression ratio is being chased as this then takes away the ability for the incoming charge to enter the chamber. I think about 9 to 1 is as high as can be generally achieved, and although these engines are only 5.8? to 1 standard, the claim is production of 22Hp. The head has a raised semi circular section opposite the valves that goes partially down the bore to increase squish/compression I expect.
I have a half sorted/ machined etc a motor, and will eventually assemble a warm version of this engine with approximately 8.5 to 1, larger valves with thinner stems to reduce weight, some porting, and a upgraded cam. At 750cc it might even make 30Hp. A retirement job maybe.
Well modded road bikes make mid 30s and race modded engines 40 to 45 BHP.
Probably no reason to think a similar capacity SV BMW couldn't do the same.