Is it possible to make an application that interacts wtih a web page?

See here:

There is now a runjs block for the Webviewer which can make things easier. You will need to delve into the game html code to find the correct element id/....

See here for how you might get source data back from a rendered web page