Yes, it is.
The hardhat allows to fork mainnet from a specified block (or a latest one) and thus to interact with all the contracts with their state at that very block. All you need to provide is the provider that supports archive nodes for the mainnet (Infura or Alchemy will do).
[Here][1] you can find all the relevant info about it.


  [1]: https://hardhat.org/guides/mainnet-forking.html