No, you'd better not wear the contact lenses after you take the chalazion surgery which will be so bad for your eyes. Wearing contact lenses will make your eyes get dry easily which will make the situation of the eyes recovery get worse. You need to protect the eyes carefully and wear the contact lenses after you get well at eyes.
It looks like you are very interested in wearing contact lenses. But, What I must say is that chalazion surgery is one of the infections we might get and if you don't take it seriously, it might lead to some serious consequences and trigger some problems. Of course you are not allowed to wear contacts before your eyes are recovered. Just try to care about your eyes by getting treatment in time.