The usual powerful magnets use neodymium, a rare earth element, and some others. This would make magnets much lower cost. Iron is cheap and nitride is nitrogen which is free from the air we breathe.
GM and Stellantis invest in Niron Magnetics to develop rare-earth-free EV components