When SQ first introduced slot machines on flights from Singapore to the US about 25 years ago, the machines broke down mid-way from over-use.
However, with the current use of video games on seat backs and the ability to swipe credit cards on the hand-set when in phone mode, I do not see any reason why any airline cannot offer gambling in-flight.