Certainly, if they are above board with the landlord and open to paying for the costs of advertising for new tenants, they should have a better chance of getting out of the lease without a creating a residual mess for themselves.
This is all assuming they are current with rents and continue to pay rents through their departure date, rather than saying “hey, let’s use the security deposit as last month’s rent”….that would go over like a lead balloon.