Automatically Generated Indexes

Hey, just curious has anyone played with the idea of automatically generating indexes?

For example if you were to add a SQL type Select Expressions to the FQL then automatically generate the indexes from that? Or from GQL Unique constraints. Do you think It would be possible?