If there is enough space inside the flipper, you can add a micro Electromagnet + Transistor to open/close the flipper cover.
Where to connect to pinball is not as easy as in previous models to Spike, because Spike does not use a wires matrix, but a Serial Bus (without any technical information available. CAN bus, RS485, custom bus... ?), so it should probably be limited to connecting to any lamp, Bumper or Flasher Lamp, with an optocoupler.
Is this possible to do? Yes, the necessary electronics is quite simple. The mechanical part I do not know, everything depends on the space available within the flipper, and the ability of each one to design the opening/closing mechanism of that cover.