My thoughts are that it should be ok as long as you check it often and don’t knock it with anything hard.
But most of the heat will be going into your wardrobe which may not be a bad thing. Have you checked the temp inside the safe I’d be interested to know how warm it gets?
Bookmarks