Possibly. I know servers can be set up to run Python scripts, but I'm not sure if it would work to the extent you are asking for. I would think you could, but I don't know if it has been done, or if a web host would allow you to try.
I'm very very new so this is really not something I could even hope to be able to do yet. But I was wondering if it's even possible to make web playable demos with Pygame?
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how.