Do you mean this DIY construction? :
https://www.backyardchickens.com/threads/mama-heating-pad-in-the-brooder-picture-heavy-update.956958/
It looks kind of tricky imho to make your own cave but I have no experience what so ever.
The ones you can buy in my country are not actually caves but...