it depends on how hot your electronics and motors are running at the moment. Say you motors are currently running at 80C then you could elevate your ambient temperature by about 20C, but you are pushing it. The same would be a fact for the electronics, but I see no reason why you should want to keep them inside the enclosure. That would be an unnecessary risk.