It is (Well, maybe a JavaScript can do it). You can write an App Inventor extension with the Rush IDE: