If the wedding is a semi-formal affair, then it is perfectly acceptable to wear a sports coat. However, if the wedding is a formal affair, then it is not appropriate to wear a sports coat and you should instead opt for a full suit.