Providing the device has enough resources to run Payara Micro, then yes. The important thing is whether you can get a compatible JVM for your device. If it is a Raspberry Pi, then it will work fine.
You shouldn't need to rebuild Payara Micro, as long as you can get OpenJDK on your device.