For more than 3 years I'm using 2 hAPac2 routers and am happy with them
(I have also some more MT devices like some big switches).
Just for fun today I installed the open source router software OpenWRT
on one of the hAPac2, initially just in RAM only for just testing first.
It works
It has a WebGUI and a Linux shell as CLI with root access.
This means one can install packets from the OpenWRT repository,
as well write and run own programs on the router by using a
C/C++ cross-compiler toolchain (gcc) on the desktop PC.
I haven't installed the toolchain yet (see link below), but will do soon.
I've some experience in such cross-compiler toolchains as I did similar some years ago on a MIPS board.
Since OpenWRT was installed in RAM (initramfs), after rebooting
the router again boots RouterOS, but one can of course also install OpenWRT on the flash memory.
I used this install guide (for Linux):
https://forum.openwrt.org/t/step-by-ste ... -ac/151780
See also:
https://en.wikipedia.org/wiki/OpenWRT
https://openwrt.org/toh/mikrotik/start
https://openwrt.org/toh/mikrotik/hap_ac2