Seeeduino Xiao for RFID access control (RC522 reader)

Can the following project be implemented with XIAO?

Here they used a generic ESP8266. Can we use XIAO instead?