Can a PX4 development environment be setup on an ARM-based VM?

Linux virtual machine on a Mac with Apple M1 chip has to be an ARM-based imageIs, so I want to build PX4 on it.

It possible to run a sitl simulation?

This might be what you are looking for?

but I don’t want to build on MacOS

Sorry, I got you wrong. Yes it works. You can go for it.

but it fail !!!
see:

the arm-based linux can’t set up a PX4 development environment !!! are you kidding me???

but it fail !!!
see:
{https://github.com/PX4/PX4-Autopilot/issues/18180#issuecomment-1053690420}

the arm-based linux can’t set up a PX4 development environment !!! are you kidding me???