Edit: also yes theoretically you can upgrade to any iOS version at will as well
Building reliable hardware support into your alternative OS is the hard bit though.