If you turn it upright and double the number of cylinders, make it single acting, change to trunk pistons, you get something similar to a Westinghouse style twin. Many variations on the actual valve drive types with those, but they usually (not always) had a rotating valve shaft driven by bevel gears external to the engine operating a D-valve, like your engine. Although for your double acting it's on the side not the end, and actuated by a crank.
Now the full size vertical twin I just saw recently was double acting, and that was something new to me.