Yeah, Not only plants are autotrophs but also some bacterias use chemical energy to create their own food.
Chemoautotrophic bacteria which resides far below the ocean floor. These bacteria take in carbon dioxide and water and convert the chemical energy in sulfur compounds to run metabolic processes that create carbohydrates and sugars (energy).