I know AVR microcontrollers are somewhat outdated nowadays, because espressif chips are just on another level, but I was forced to use one for a class so perhaps this will be useful for someone in a similar boat. As an alternative to programming your AVR microcontrollers in MPLAB or Atmel Studio, you can use VSCode with the PlatformIO extension.