In short, yes you can be a pilot with Asthma. I have the condition and hold a Class 1 medical. However it depends on what type you have, how severe it is, what triggers it off and what medication you are taking.
If you need any further info send me a pm.
NH