is it possible to upgrade the android OS on all phones?
You receive updates from the carrier.

You can circumvent this by rooting your phone and installing a custom rom (or stock rom, if available) to get the latest version of Android.