Electromagnet overheating?

When I mean hot I mean you can't hold it in your hands anymore.

Yes that is fine. A coil can run quite hot without any damage.

You say:-

  • limit temperature: 130 ° C.

You won't be able to hold that will you.

I would do :-

just making sure the surrounding parts can handle the heat