Yes, your alarm will work even when focus is turned on. But only the default iOS alarm will work, no other third-party alarms will work.