Wrong section, this belongs in the iPod/iPhone board...
But yes, it's possible. You would need to make an application that runs in the background to interpret the button signals to touch commands to be used in appplications and games.
You can't do it through bluetooth because the supported profiles needed are not...supported.