This is a type of axial engine, a cam engine.[1] People have been trying designs along this line since at least 1926. A recent version was from Axial Vector Engine, which was pushing their stock around 2006 and is now gone.[2]
The problem with this class of designs is that they apply large forces to small parts. The most likely source of trouble is the bearings of those little wheels at the base of each piston. Those have to take the full force of the explosion on each cycle. That doesn't mean it's impossible, but it means it's a long way from the first running engine to one with a long, useful, low-maintenance life.
[1] https://en.wikipedia.org/wiki/Axial_engine
[2] https://web.archive.org/web/20090208215443/http://www.axialv...