If you mean tunnel as in actually traveling through the ground, you could make a second terrain and place that over the dug out hole. I don't know how this would work with the AI seeder though. If you mean actual roofs for like houses, I believe those work similarly to wall placement. There's a tutorial video about it