I have a Mac Mini M1 and Asahi Linux works very well on it. Pretty much everything I use already has an aarch64 version. The IDE I was using doesn’t, so I switched to the JetBrains equivalent, which does work on ARM.
The one big letdown is that displayport doesn’t work. Only HDMI does. But going by your other comments you’re using a macbook rather than a mac mini, so that might not matter to you.
You could try Bluefin (Gnome) or Aurora (KDE). https://projectbluefin.io/ It’s an immutable OS based on Fedora. They have a developer version with certain developer tools pre-installed. The development environment is largely based around containers and virtual environments. eg. Using DevPod to run your software projects within developer containers instead of installing the tools directly on your host operating system.