That would be useful, but it’s probably best to keep scripts stateless. Since different nodes might have different ideas about what the current blockcount is, a situation could develop where half the network considers a transaction valid and half considers it invalid. This is not good for the network.
Re: Need OP_BLOCKNUMBER to allow "time" limited transactions
Figures: Michael Marquardt