Well, according to the rules, any format is supported, so yeah. However, many people like or prefer games on desktop, so if your engine/framework supports it it would be better for the greater audience.
Nonetheless, i assume everybody has a phone, and so pretty much anyone can still play your game even if it's only on mobile.