Don't see why not! I might be a bit leery of it if it were a black tie event, but in the circumstance you've described, it seems perfectly reasonable.