I’m not sure if GTP would be a better or worse way, but it should be noted that OGS already has some sort of open API that supports playing games via other clients (although I know very little about it beyond that it exists).
In fact, there is already an ongoing effort to develop a mobile app that uses this API: