Phone Controller for Infinite Flight

Sorry if this is the wrong category, but I’m curious:

Would this (or something like this) work for Infinite Flight? I’ve seen plenty of methods to incorporate an external joystick, however I can’t find anything asking about one of these products, which I feel could be relatively convenient for making this simulator feel a lot more like a console.