I know that if I use the web3 family of libraries, I can use
web3.eth.getStorageAt
to read any variable I like directly from the storage of a smart contract. Is there a way to do this from a smart contract directly in Solidity as well (without using an Oracle that just runs web3.eth.getStorageAt)? I assume not, as that would defeat the purpose of having access modifiers in Solidity at all in my opinion, however just want to make sure.