A:Ed, yes you can, and there several home improvement sites to help you out with that. Here's a link to a how-to article on how to go about installing a battery-operated smoke detector:
http://yourhandymanzone.com/Your_Handyman_Zone_How_To_Pages_Home_Improvement_Zone_Security_Systems_And_Tips_Install_Smoke_Detector.htm