Yes, one can have sex even if one has asthma. If asthma is affecting one's sexual life, it means that the asthma is not well controlled and one needs to consult a doctor.
Related Questions
My 6-year old has been coughing a lot for the last few days. Could he have a breathing problem?