The simple answer is yes
Michigan Marriage Code
Michigan law states that a "minister of the gospel" may officiate at weddings. The language used may give the impression that the right is restricted to clergy of a specific religion, but it's actually just an older phrasing than most states use today - ministers of any religion are afforded equal rights in Michigan. Any clergy-person authorized by his or her religious organization to solemnize marriages may perform weddings in Michigan. This includes ministers who have become a minister by getting ordained online. In Michigan, individuals authorized to perform marriages are granted that power via section 7 of article 551 of Michigan's state code. Below, you will find an excerpt of this code. Online ordained ministers regularly officiate legally valid marriages in the State of Michigan.
551.7 Persons authorized to solemnize marriage; records; return of licenses and certificates; disposition of fees charged by mayor or county clerk.
(1) Marriages may be solemnized by any of the following:
(i) A minister of the gospel or cleric or religious practitioner, anywhere in this state, if the minister or cleric or religious practitioner is ordained or authorized to solemnize marriages according to the usages of the denomination.
(j) A minister of the gospel or cleric or religious practitioner, anywhere in this state, if the minister or cleric or religious practitioner is not a resident of this state but is authorized to solemnize marriages under the laws of the state in which the minister or cleric or religious practitioner resides.
(2) A person authorized by this act to solemnize a marriage shall keep proper records and return licenses and certificates as required by section 4 of 1887 PA 128, MCL 551.104.
Certificates can be provided at any time.