Bitcoin
Is there any way for the script to rely on blockchain information?

lock time opcode OP_CHECKLOCKTIMEVERIFY
and OP_CHECKSEQUENCEVERIFY
If we allow for indirect block number verification, is there a way to obtain other information, such as previously mined block hashes or current difficulty, without relying on an oracle?