Yes, you can make compost in a hole in the ground. This composting method is called either In-Ground Composting or Dig and Drop Composting. Trench composting is another method of putting compost in the ground, with the exception that you dig a long trench.