No the energy is not a bug it’s a feature. The coins cost energy to make b/c you cannot fake energy. They cost more energy when more people participate because then there are real market forces.
While there is no empirical proof bitcoin causes better allocation of resources(you’ll just have to make up you’re own mind) assuming it does, the energy savings from less misallocated resources vastly outweighs the energy spent mining bitcoin.