Is it possible to use the editor's move/rotate controller in an application?

Hi,

We are looking to add a controller that can move and rotate objected in our application. Would there by any chance be possible to somehow use the logic and the design of the editor’s controller for this?

My understanding is that this is something that has to be made from scratch