Flash Game Possible as Multiplayer Online?

Me and a few friends have recently discussed making a RPG game, now i have a beginners understanding of Actionscript but can easily learn more. I was wondering if its possible to set up the flash game so that multiple users can play at the same time across the internet, and possibly even create a chat and character creation interface.