In almost all cases, they can be fully enclosed. All electronics, when they are on, generate heat. However, the power these devices draw is very minimal and there is not any concern enclosing them as long as they are not located next to another heat source.
When in doubt, please contact us and we’ll be happy to offer safety advice specific to your situation.