Yes, as long as the time is plentiful for you to catch your flight, ship, taxi after the reception. Just think ahead and plan the time of wedding accordingly.
If all the traditional stuff has been done: the pictures, cutting cake, first wedding dance, the toast, etc...make sure you say goodbye to the ones you love before taking off. Happy Wedding!