You are welcome.
Your body will indicate when you can do asana. If you have been practicing for a while, after the acute phase of your illness passes, you might feel again doing asanas. They surley will help you to recover. Just don't push them too hard, until you are completely recovered.