A long time ago there was a simple xfs_irecover tool to scan blocks for inode signatures. We never managed to port it to use libxfs and the code repository for it seems to have disappeared. But in general, yes you can scan for inode clusters that have not been reused, but it is very low-level and dangerous if you don't know what you are doing.