Totally. Especially since the endgame in any web-facing EC2 architecture is to have stateless nodes behind a load balancer that you can scale up and down as required.
Ideally you'd automatically recreate AMI snapshots whenever your code changes. In other words, erm, Heroku.