Yes, I can definitely write you ESP32 code that puts the board into deep sleep for a specific amount of time. Here is an example code snippet:
```
#include <esp_sleep.h>
// Sleep for 10 seconds
const int sleepTime = 10e6;
void setup() {
Serial.begin(115200);
Serial.println("Going to sleep..."...