Yes, you definitely can! Take a look in your spice cabinet and see if you have any of the classic Italian spices like oregano or rosemary. Anyone of those can substitute for thyme if you don't have it. If you happen to have a bottle of pre-mixed Italian seasoning you can use that too!