Extension Question - Push Notification

Is it possible to programm an extension that makes it possible
to send push up notifications?

if i create a php site with server
where i can write some short text message
and send it with the server to my stencyl app
and the stencyl app show this short message as an
push up notification?