The short answer is ‘yes’ but there are specific requirements.
The Scottish Government have recently made a small amendment to their landlord guidance on smoke detector provision. The previous guidance stated that there should be one functioning smoke alarm in EVERY room which is used by the occupants for general daytime living purposes.
The guidance has been revised to state that there should be one functioning smoke alarm in THE room which is used by the occupants for general daytime living purposes. There should also be a detector in every circulation space such as hallways and landings and a heat detector in the kitchen. All alarms should be mains wired and interlinked.
In the case of HMO properties the requirement for smoke alarms is much more stringent. The number and position will be determined by the size and layout of the accommodation. However, they are required to be mains-powered and on a linked circuit so that if one detects a fire, all of them sound the alarm.
Its is essential that advice is taken from the appropriate licensing authority or the fire services to ensure that you have an appropriate system and provision of alarms to meet the layout of your property.