I think Idolatry can have different levels and meaning in Judaism.
There is technical idols/idolatry on one extreme, and then there is idolatry in terms of one even following their own emotional anger on the other extreme.
“One who tears his clothes, breaks his utensils, and destroys his money in his rage should be in your eyes as one who commits idolatry” (Shabbos 105b).
These imo are all true, and there will be different opinions why these overlap. For example, anger causing someone to do something is like submitting their own free choice to an outside cause, like idolatry which follows some outside cause, both not being Hashem. But many other ideas have been written discussing similarities as well.
However, to be clear the Gemara says "in your eyes like one who commits idolatry" and so there is a difference between the two.
Please see Rambam Perush Mishnayos Avos 2:10. who quotes the gemara above (shabbos 105b) and says that anger and idolatry are the same. ׳׳ר׳׳ל ששני הדברים אחד.׳׳ I understand the same in nature not equivalent.