Yes, you will be able to play the game with a controller.
The iOS version of the game is compatible with all MFI (Made for iPhone) certified controllers.
On Android, the market is so highly diversified in terms of devices and controller models that we unfortunately cannot test and guarantee compatibility with each one of them. However, if you use a First Parties controller, like Nintendo, Sony and Xbox, it should work !