not ipads, those are locked down. Macs though, they have an open bootloader and so far M1 and M2 chips have pretty good linux support, fully reverse-engineered: https://asahilinux.org/fedora/#device-support