There are "beta" versions of Android 8.1 (Oreo) and Android 9 (Pie) available on XDA Forums, but these are not stable. Camera, Wi-Fi, or Bluetooth usually break. Stick to Android 7.1.2 Nougat for daily use.