Yes. The ICO investigation that resulted in Imgur blocking the UK pre-dates the Online Safety Act coming into force.
As others have mentioned, Ofcom is responsible for enforcement of the OSA - but the investigation against Imgur was carried out by the ICO.