Yes. An alarm that detects both smoke and carbon monoxide (CO) is called a COMBINATION ALARM.
This is not the same thing as as a “dual sensor” alarm. A dual sensor smoke alarm uses two kinds of smoke-detecting technologies in case of fire; it does not detect CO.