Yes, a smoke alarm is allowed in the kitchen, but it's recommended to use a heat alarm instead. Smoke alarms can trigger false alarms due to cooking fumes. Heat alarms, which respond to temperature increases, are more suitable for kitchen environments, reducing the likelihood of false alarms while providing effective fire detection.