Onboard internet provided by ground-based cellular or satellite already requires aftermarket hardware -- external antennas, routers inside the plane, and more.
It does require extensive testing and permission by the FAA (and the aircraft manufacturer, and the airline, and others) and extensive support teams in terminals but it's done semi-routinely.